test/common: print keycode in decimal not hex

Keycodes are usually written in decimal, so hex is hard to compare.

Signed-off-by: Ran Benita <ran234@gmail.com>
master
Ran Benita 2015-02-03 20:50:52 +02:00
parent ca58937da3
commit 74482de623
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ test_key_seq_va(struct xkb_keymap *keymap, va_list ap)
syms = &sym;
}
fprintf(stderr, "got %u syms for key 0x%x: [", nsyms, kc);
fprintf(stderr, "got %u syms for keycode %u: [", nsyms, kc);
if (op == DOWN || op == BOTH)
xkb_state_update_key(state, kc, XKB_KEY_DOWN);