src/video/x11/SDL_x11keyboard.c
changeset 7824 286ab38ef766
parent 7672 424794018389
child 7827 a03ec8de0426
--- a/src/video/x11/SDL_x11keyboard.c	Thu Oct 17 11:56:33 2013 -0700
+++ b/src/video/x11/SDL_x11keyboard.c	Thu Oct 17 17:37:23 2013 -0700
@@ -271,7 +271,7 @@
                 if (scancode == SDL_SCANCODE_UNKNOWN) {
                     printf("scancode not found\n");
                 } else {
-                    printf("scancode = %d (%s)\n", j, SDL_GetScancodeName(j));
+                    printf("scancode = %d (%s)\n", scancode, SDL_GetScancodeName(scancode));
                 }
             }
         }