platform: sdl: fix compiling
This commit is contained in:
parent
e9d988f5d6
commit
1b9bfd8906
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue