Mercurial > sdl-ios-xcode
diff src/video/bwindow/SDL_BWin.h @ 5223:572a73d71b5f
Sheena pointed out that "scancode" and "keysym" are single words and shouldn't be camel-cased.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 07 Feb 2011 09:37:11 -0800 |
parents | 25d4feb7c127 |
children | c1a92e61907d |
line wrap: on
line diff
--- a/src/video/bwindow/SDL_BWin.h Mon Feb 07 09:23:01 2011 -0800 +++ b/src/video/bwindow/SDL_BWin.h Mon Feb 07 09:37:11 2011 -0800 @@ -509,7 +509,7 @@ if (msg->FindInt32("key", &key) == B_OK && msg->FindInt32("modifiers", &modifiers) == B_OK) { - SDL_KeySym keysym; + SDL_Keysym keysym; keysym.scancode = key; if ((key > 0) && (key < 128)) { keysym.sym = keymap[key]; @@ -543,7 +543,7 @@ int32 modifiers; if (msg->FindInt32("key", &key) == B_OK && msg->FindInt32("modifiers", &modifiers) == B_OK) { - SDL_KeySym keysym; + SDL_Keysym keysym; keysym.scancode = key; if ((key > 0) && (key < 128)) { keysym.sym = keymap[key];