changeset 949:e3c49b2f8143

Fix bindings of special keys (MK*)
author Mikael Berthe <mikael@lilotux.net>
date Fri, 18 Aug 2006 19:09:15 +0200
parents 388b43cea2c5
children e79d82933dea
files mcabber/src/screen.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/screen.c	Mon Aug 14 21:04:28 2006 +0200
+++ b/mcabber/src/screen.c	Fri Aug 18 19:09:15 2006 +0200
@@ -2432,7 +2432,7 @@
   else if (kcode.mcode == MKEY_META)
     g_snprintf(asciikey, 15, "M%s", asciicode);
   else
-    g_snprintf(asciikey, 15, "MK%s", asciicode);
+    g_snprintf(asciikey, 15, "MK%d", kcode.mcode);
 
   boundcmd = settings_get(SETTINGS_TYPE_BINDING, asciikey);