diff --git a/test/xkey.c b/test/xkey.c index 4f775f2..4013201 100644 --- a/test/xkey.c +++ b/test/xkey.c @@ -9,7 +9,7 @@ static void print_keysym(const char *s) if (ks == NoSymbol) printf("NoSymbol\n"); else - printf("0x%lx\n", ks); + printf("0x%lX\n", ks); } static void print_string(KeySym ks) diff --git a/test/xkey.sh b/test/xkey.sh index a409302..a2d0ce0 100755 --- a/test/xkey.sh +++ b/test/xkey.sh @@ -27,7 +27,7 @@ check_key() exit $? } -check_string Undo 0xff65 +check_string Undo 0xFF65 check_key 0x1008FF56 XF86Close check_string ThisKeyShouldNotExist NoSymbol check_key 0x0 NULL