summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 323ee42)
raw | patch | inline | side by side (parent: 323ee42)
author | Max Kellermann <max@duempel.org> | |
Sat, 17 Oct 2009 22:54:14 +0000 (00:54 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 17 Oct 2009 22:54:14 +0000 (00:54 +0200) |
Fix an assertion failure.
src/screen_queue.c | patch | blob | history |
diff --git a/src/screen_queue.c b/src/screen_queue.c
index 7275734d08c70ce2ebe05555a855303c489098f3..898011d85b338ef5d4aafc5081703bdebe42464f 100644 (file)
--- a/src/screen_queue.c
+++ b/src/screen_queue.c
/* delete */
if (selected == lw->selected)
mpdclient_cmd_delete(c, lw->selected);
+
+ list_window_set_length(lw, playlist_length(playlist));
}
list_window_set_cursor(lw, selected);