diff options
author | Ran Benita <ran234@gmail.com> | 2015-02-03 20:50:52 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2015-02-03 21:47:08 +0200 |
commit | 74482de6235ceb99e9ed9c155394902295d0846c (patch) | |
tree | 5160e303a1220a2f7fb0848224a765e743fc59c2 /test | |
parent | ca58937da3058d1d9b8c5ddbcc36d3d0ca8ad714 (diff) | |
download | xorg-lib-libxkbcommon-74482de6235ceb99e9ed9c155394902295d0846c.tar.gz |
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>
Diffstat (limited to 'test')
-rw-r--r-- | test/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common.c b/test/common.c index 0bacba0..8a2b632 100644 --- a/test/common.c +++ b/test/common.c @@ -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); |