test/checkkeys.c
changeset 7312 b36811d7db33
parent 7191 75360622e65f
child 7317 37b77749523b
--- a/test/checkkeys.c	Mon Jun 17 07:14:20 2013 -0700
+++ b/test/checkkeys.c	Tue Jun 18 00:39:47 2013 -0700
@@ -107,24 +107,6 @@
                 SDL_GetScancodeName(sym->scancode),
                 pressed ? "pressed " : "released");
     }
-
-    /* Print the translated character, if one exists */
-    if (sym->unicode) {
-        /* Is it a control-character? */
-        if (sym->unicode < ' ') {
-            print_string(&spot, &left, " (^%c)", sym->unicode + '@');
-        } else {
-#ifdef UNICODE
-            print_string(&spot, &left, " (%c)", sym->unicode);
-#else
-            /* This is a Latin-1 program, so only show 8-bits */
-            if (!(sym->unicode & 0xFF00))
-                print_string(&spot, &left, " (%c)", sym->unicode);
-            else
-                print_string(&spot, &left, " (0x%X)", sym->unicode);
-#endif
-        }
-    }
     print_modifiers(&spot, &left);
     if (repeat) {
         print_string(&spot, &left, " (repeat)");