- more unicode character code cleanup
This commit is contained in:
parent
10eba296fe
commit
73efa41cc9
|
@ -866,10 +866,10 @@ char Window::getKey(SDL_keysym keysym,bool skipSpecialKeys) {
|
|||
}
|
||||
else {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
Uint16 c = keysym.unicode;
|
||||
if((c & 0xFF80) == 0) {
|
||||
Uint16 c = 0;
|
||||
if(keysym.unicode > 0 && keysym.unicode < 0x80) {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||
c = keysym.unicode & 0x7F;
|
||||
c = keysym.unicode;
|
||||
//c = toupper(c);
|
||||
|
||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf ("In [%s::%s Line: %d] #1 (c & 0xFF) [%d]\n",__FILE__,__FUNCTION__,__LINE__,(c & 0xFF));
|
||||
|
|
Loading…
Reference in New Issue
Block a user