summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses/gui-curses-keyboard.c')
-rw-r--r--src/gui/curses/gui-curses-keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-keyboard.c b/src/gui/curses/gui-curses-keyboard.c
index 38ee9a999..115fea832 100644
--- a/src/gui/curses/gui-curses-keyboard.c
+++ b/src/gui/curses/gui-curses-keyboard.c
@@ -58,7 +58,8 @@ gui_keyboard_default_bind (const char *key, const char *command)
internal_code = gui_keyboard_get_internal_code (key);
- ptr_key = gui_keyboard_search (NULL, (internal_code) ? internal_code : key);
+ ptr_key = gui_keyboard_search (gui_keys,
+ (internal_code) ? internal_code : key);
if (!ptr_key)
{
gui_keyboard_new (NULL, key, command);