Correct usage of wcsncmp function.
This commit is contained in:
parent
de27489b47
commit
eeb27ad2ef
1 changed files with 1 additions and 1 deletions
|
|
@ -1742,7 +1742,7 @@ struct osk_keyboard * osk_clicked(on_screen_keyboard *keyboard, int x, int y)
|
||||||
event.key.keysym.sym = SDLK_BACKSPACE;
|
event.key.keysym.sym = SDLK_BACKSPACE;
|
||||||
event.key.keysym.unicode = '\b';
|
event.key.keysym.unicode = '\b';
|
||||||
}
|
}
|
||||||
else if (wcsncmp(L"NoSymbol", ks, 8 == 0))
|
else if (wcsncmp(L"NoSymbol", ks, 8) == 0)
|
||||||
return(keyboard);
|
return(keyboard);
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue