summaryrefslogtreecommitdiff
path: root/plugins/hotkeys
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-29 06:51:15 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-07-29 06:51:15 +0200
commitc27c2b5cc332cd615b2ade47c92acbd2780e6eea (patch)
tree8e1e26bc9ab2fe4965f89253b476ffd070fd5c98 /plugins/hotkeys
parentd2fa3b7e96c74e929cc846c55317879e1aebfa10 (diff)
several typo/warning fixes in actions/shellexec and related code
Diffstat (limited to 'plugins/hotkeys')
-rw-r--r--plugins/hotkeys/hotkeys.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c
index b201bfd4..77e66f19 100644
--- a/plugins/hotkeys/hotkeys.c
+++ b/plugins/hotkeys/hotkeys.c
@@ -48,8 +48,6 @@ static const xkey_t keys[] = {
#include "keysyms.inc"
};
-//typedef void (*command_func_t) (void *command);
-
typedef struct command_s {
int keycode;
int modifier;
@@ -179,7 +177,7 @@ cmd_invoke_plugin_command (command_t *command)
action->callback (action, NULL);
return;
}
- //Now we're checking af action is applicable:
+ //Now we're checking if action is applicable:
if (selected_count == 0)
{
@@ -225,6 +223,9 @@ get_command (const char* command)
but I assume we use cdecl convention so actual
parameters count doesn't matter.
*/
+ // +waker:
+ // TODO: export all this commands as standard plugin actions
+ // ignore typecast warnings for now
if (!strcasecmp (command, "toggle_pause"))
return deadbeef->playback_pause;