platform: sdl: fix compiling

This commit is contained in:
Alibek Omarov 2018-11-18 23:04:47 +03:00
parent e9d988f5d6
commit 1b9bfd8906

View File

@ -172,7 +172,8 @@ SDLash_InputEvent
*/
static void SDLash_InputEvent( SDL_TextInputEvent input )
{
for( char *text = input.text; *text; text++ )
char *text;
for( text = input.text; *text; text++ )
{
int ch;