Changeset 323 for trunk/src/gl/gl_window.cc
- Timestamp:
- 08/26/14 04:03:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gl/gl_window.cc
r319 r323 19 19 20 20 #if NV_SDL_VERSION == NV_SDL_20 21 uint32 ucode = ke.keysym.sym;22 #else 23 uint32 ucode = ke.keysym.unicode;21 uint32 ucode = (uint32)ke.keysym.sym; 22 #else 23 uint32 ucode = (uint32)ke.keysym.unicode; 24 24 #endif 25 25 … … 34 34 int capslock = !!(ke.keysym.mod & KMOD_CAPS); 35 35 if ((shifted ^ capslock) != 0) { 36 kevent.key.ascii = (char8)SDL_toupper( ucode);36 kevent.key.ascii = (char8)SDL_toupper((int)ucode); 37 37 } 38 38 }
Note: See TracChangeset
for help on using the changeset viewer.