src/video/x11/SDL_x11events.c
changeset 1196 b81f54c3963f
parent 1179 abb4267e7028
child 1312 c9b51268668f
equal deleted inserted replaced
1195:bb6791b0a268 1196:b81f54c3963f
   611 	MISC_keymap[XK_Menu&0xFF] = SDLK_MENU;
   611 	MISC_keymap[XK_Menu&0xFF] = SDLK_MENU;
   612 	MISC_keymap[XK_Hyper_R&0xFF] = SDLK_MENU;   /* Windows "Menu" key */
   612 	MISC_keymap[XK_Hyper_R&0xFF] = SDLK_MENU;   /* Windows "Menu" key */
   613 }
   613 }
   614 
   614 
   615 #ifdef X_HAVE_UTF8_STRING
   615 #ifdef X_HAVE_UTF8_STRING
   616 Uint32 Utf8ToUcs4(const char * utf8)
   616 Uint32 Utf8ToUcs4(const unsigned char *utf8)
   617 {
   617 {
   618 	Uint32 c;
   618 	Uint32 c;
   619 	int i = 1;
   619 	int i = 1;
   620 	int noOctets = 0;
   620 	int noOctets = 0;
   621 	int firstOctetMask = 0;
   621 	int firstOctetMask = 0;