diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-06 22:41:22 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-06 22:41:22 +0100 |
commit | 4d1f330c0b4d15c834befa17d33558fb773d0259 (patch) | |
tree | e54fb59bba3faf2a58d5ce7e798e3cf2e3c823f2 /plugins/shellexec | |
parent | 07a356a4c0e256f6da4be205a41e690193e174b8 (diff) |
fixed missing API 1.2 constant; fixed is_local_file implementation
Diffstat (limited to 'plugins/shellexec')
-rw-r--r-- | plugins/shellexec/shellexec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c index 329b9d9e..56ceb970 100644 --- a/plugins/shellexec/shellexec.c +++ b/plugins/shellexec/shellexec.c @@ -191,10 +191,12 @@ shx_get_plugin_actions (DB_playItem_t *it) for (action = actions; action; action = (Shx_action_t *)action->parent.next) { if ((!(action->shx_flags & SHX_ACTION_LOCAL_ONLY) && is_local) || - (!(action->shx_flags & SHX_ACTION_REMOTE_ONLY) && !is_local)) + (!(action->shx_flags & SHX_ACTION_REMOTE_ONLY) && !is_local)) { action->parent.flags |= DB_ACTION_DISABLED; - else + } + else { action->parent.flags &= ~DB_ACTION_DISABLED; + } } return (DB_plugin_action_t *)actions; } |