Correct usage of wcsncmp function.

This commit is contained in:
Pere Pujal i Carabantes 2016-10-06 21:28:01 +00:00
parent de27489b47
commit eeb27ad2ef

View file

@ -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.unicode = '\b';
}
else if (wcsncmp(L"NoSymbol", ks, 8 == 0))
else if (wcsncmp(L"NoSymbol", ks, 8) == 0)
return(keyboard);
else