mirror of
https://github.com/glest/glest-source.git
synced 2025-08-19 06:31:19 +02:00
- more unicode character code cleanup
This commit is contained in:
@@ -866,10 +866,10 @@ char Window::getKey(SDL_keysym keysym,bool skipSpecialKeys) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
Uint16 c = keysym.unicode;
|
Uint16 c = 0;
|
||||||
if((c & 0xFF80) == 0) {
|
if(keysym.unicode > 0 && keysym.unicode < 0x80) {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
c = keysym.unicode & 0x7F;
|
c = keysym.unicode;
|
||||||
//c = toupper(c);
|
//c = toupper(c);
|
||||||
|
|
||||||
if(SystemFlags::VERBOSE_MODE_ENABLED) printf ("In [%s::%s Line: %d] #1 (c & 0xFF) [%d]\n",__FILE__,__FUNCTION__,__LINE__,(c & 0xFF));
|
if(SystemFlags::VERBOSE_MODE_ENABLED) printf ("In [%s::%s Line: %d] #1 (c & 0xFF) [%d]\n",__FILE__,__FUNCTION__,__LINE__,(c & 0xFF));
|
||||||
|
Reference in New Issue
Block a user