Added SDL_GetScancodeFromName() and SDL_GetKeyFromName()

This commit is contained in:
Sam Lantinga 2011-10-24 21:34:54 -04:00
parent b285f5017f
commit ee56d1a748
3 changed files with 105 additions and 6 deletions

View file

@ -33,7 +33,7 @@
int UTF8_TrailingBytes(unsigned char c)
{
if (c >= 0xC0 && c<= 0xDF)
if (c >= 0xC0 && c <= 0xDF)
return 1;
else if (c >= 0xE0 && c <= 0xEF)
return 2;