key: use right value for no symbol

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-28 17:35:12 +02:00
parent ca7af35f8a
commit ffb5e46492

2
key.c
View file

@ -109,7 +109,7 @@ key_getkeysym(xcb_keycode_t detail, uint16_t state)
}
/* If the second column does not exists use the first one. */
if(k1 == XCB_NONE)
if(k1 == XCB_NO_SYMBOL)
k1 = k0;
/* The numlock modifier is on and the second KeySym is a keypad