test/testime.c
changeset 7721 bdf8c2c84e14
parent 7677 871d43c6968a
child 7787 e6f3e8fc96ea
     1.1 --- a/test/testime.c	Thu Aug 29 08:29:51 2013 -0700
     1.2 +++ b/test/testime.c	Thu Aug 29 08:30:21 2013 -0700
     1.3 @@ -331,7 +331,7 @@
     1.4                      break;
     1.5  
     1.6                  case SDL_TEXTINPUT:
     1.7 -                    if (SDL_strlen(event.text.text) == 0 || event.text.text[0] == '\n' ||
     1.8 +                    if (event.text.text[0] == '\0' || event.text.text[0] == '\n' ||
     1.9                          markedRect.w < 0)
    1.10                          break;
    1.11