summaryrefslogtreecommitdiffstats
path: root/key-bindings.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-05 16:35:32 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-05 16:35:32 +0000
commit642c0b00ab43079cd251ec9616963b8a806b3464 (patch)
tree40f2bcf2f39d93feb21481a8547f267166f627f0 /key-bindings.c
parent7325fea37dd75ac89828c6cfdfbcbd8d54548241 (diff)
Easy bits of arg printing for list-keys.
Diffstat (limited to 'key-bindings.c')
-rw-r--r--key-bindings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/key-bindings.c b/key-bindings.c
index f3cb2852..7a0d812e 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -1,4 +1,4 @@
-/* $Id: key-bindings.c,v 1.28 2008-06-03 05:35:51 nicm Exp $ */
+/* $Id: key-bindings.c,v 1.29 2008-06-05 16:35:32 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -122,7 +122,7 @@ key_bindings_init(void)
cmd->entry = table[i].entry;
cmd->data = NULL;
if (cmd->entry->init != NULL)
- cmd->entry->init(&cmd->data, table[i].key);
+ cmd->entry->init(cmd, table[i].key);
key_bindings_add(table[i].key, cmd);
}
}