Removed "#ifdef WIN32" block around label embedding.
It has likely become unneccessary by recent fix for the common part. Also backported a fix for uppercase issue from sdl2.0 branch (Define Windows native function for mbstowcs/wcstombs).
This commit is contained in:
parent
6a414961b8
commit
c0da1f0e94
2 changed files with 4 additions and 38 deletions
|
|
@ -63,7 +63,7 @@ static void print_composemap(osk_composenode * composemap, char *sp);
|
|||
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#define mbstowcs(wtok, tok, size) MultiByteToWideChar(CP_UTF8,MB_COMPOSITE,tok,-1,wtok,size)
|
||||
#define mbstowcs(wtok, tok, size) MultiByteToWideChar(CP_UTF8,0,tok,-1,wtok,size)
|
||||
#endif
|
||||
|
||||
struct osk_keyboard *osk_create(char * layout_name, SDL_Surface * canvas,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue