From 176b9cf524e75a63f63aed6809247847f467a833 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 22 Jan 2009 20:18:33 -0800 Subject: [PATCH] test: Consistently use upper case hex --- test/xkey.c | 2 +- test/xkey.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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