summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2015-02-03 20:50:52 +0200
committerRan Benita <ran234@gmail.com>2015-02-03 21:47:08 +0200
commit74482de6235ceb99e9ed9c155394902295d0846c (patch)
tree5160e303a1220a2f7fb0848224a765e743fc59c2 /test
parentca58937da3058d1d9b8c5ddbcc36d3d0ca8ad714 (diff)
downloadxorg-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.c2
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);