summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0fbb0f0)
raw | patch | inline | side by side (parent: 0fbb0f0)
author | Max Kellermann <max@duempel.org> | |
Wed, 30 Sep 2009 15:50:50 +0000 (17:50 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 30 Sep 2009 15:50:50 +0000 (17:50 +0200) |
It's a bool.
src/screen_play.c | patch | blob | history |
diff --git a/src/screen_play.c b/src/screen_play.c
index f3a0804903155f4906a5a0928bebdfb20958bb9c..72335fc541820faa51e4286e365d9ce212f47787 100644 (file)
--- a/src/screen_play.c
+++ b/src/screen_play.c
case PLAYLIST_EVENT_DELETE:
break;
case PLAYLIST_EVENT_MOVE:
- if(lw->range_selection < 0)
- {
+ if (!lw->range_selection) {
lw->selected = *((int *) data);
if (lw->selected < lw->start)
lw->start--;