Skip to content

Commit

Permalink
Fixed using the wrong variable when reporting a missing SDL scancode …
Browse files Browse the repository at this point in the history
…mapping.
  • Loading branch information
slouken committed Oct 18, 2013
1 parent 2e6b4b9 commit 7db3122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11keyboard.c
Expand Up @@ -271,7 +271,7 @@ X11_InitKeyboard(_THIS)
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));
}
}
}
Expand Down

0 comments on commit 7db3122

Please sign in to comment.