summaryrefslogtreecommitdiff
path: root/plugins/hotkeys
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-21 18:27:13 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-03-21 18:27:13 +0100
commit9762e04a27260222fd3f3dd71188db471d405506 (patch)
treeb579dea845200dcfbee7f5dd55f38034ad5f34e7 /plugins/hotkeys
parent8ecdb365f04bdf97c16b9f3541e79bbe1e09c46f (diff)
fixed error msg in hotkeys plugin
Diffstat (limited to 'plugins/hotkeys')
-rw-r--r--plugins/hotkeys/hotkeys.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c
index 959dbd30..f52747d6 100644
--- a/plugins/hotkeys/hotkeys.c
+++ b/plugins/hotkeys/hotkeys.c
@@ -194,8 +194,6 @@ read_config (Display *disp)
char* command = colon+1;
*colon = 0;
- char* key = NULL;
-
int done = 0;
char* p;
char* space = param - 1;
@@ -234,7 +232,7 @@ read_config (Display *disp)
}
if (!cmd_entry->keycode)
{
- fprintf (stderr, "hotkeys: Unknown key: <%s> while parsing %s %s\n", key, item->key, item->value);
+ fprintf (stderr, "hotkeys: got 0 from get_keycode while adding hotkey: %s %s\n", item->key, item->value);
break;
}
}