summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-22 11:03:21 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-22 11:03:21 +0200
commita29387858a5789244df6bf01b06d32393033c21a (patch)
treeb6528cc172e0f5b45ec4a2ef785c124c9ac52931
parentea2d9e2df3d3d90d7dbcb7ac644a73ae767f7c9e (diff)
fix minor syntax error in plugin action handling
-rw-r--r--plugins/gtkui/plcommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/plcommon.c b/plugins/gtkui/plcommon.c
index 2fb1951f..41e3fdd8 100644
--- a/plugins/gtkui/plcommon.c
+++ b/plugins/gtkui/plcommon.c
@@ -364,7 +364,7 @@ actionitem_activate (GtkMenuItem *menuitem,
}
// For single-track actions just invoke it with first selected track
- if (0 == action->flags & DB_ACTION_ALLOW_MULTIPLE_TRACKS)
+ if (!(action->flags & DB_ACTION_ALLOW_MULTIPLE_TRACKS))
{
DB_playItem_t *it = deadbeef->pl_get_for_idx_and_iter (clicked_idx, PL_MAIN);
action->callback (action, it);