Changeset 369 for trunk/src/sdl/sdl_input.cc
- Timestamp:
- 05/22/15 13:21:44 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sdl/sdl_input.cc
r357 r369 30 30 if (ucode >= 32 && ucode < 128 ) 31 31 { 32 kevent.key.ascii = static_cast< char8>( ucode );32 kevent.key.ascii = static_cast<uchar8>( ucode ); 33 33 if (ucode >= 'a' && ucode <= 'z') 34 34 { … … 36 36 int capslock = !!(ke.keysym.mod & KMOD_CAPS); 37 37 if ((shifted ^ capslock) != 0) { 38 kevent.key.ascii = ( char8)SDL_toupper((int)ucode);38 kevent.key.ascii = (uchar8)SDL_toupper((int)ucode); 39 39 } 40 40 }
Note: See TracChangeset
for help on using the changeset viewer.