Replaced strlen() with SDL_strlen() in IME test program.

Philipp Wiesemann 2016-03-02 20:24:43 +01:00
parent 3a22321d55
commit e8b4368512
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ void _Redraw(SDL_Renderer * renderer) {
char *p = utf8_advance(markedText, cursor); char *p = utf8_advance(markedText, cursor);
char c = 0; char c = 0;
if (!p) if (!p)
p = &markedText[strlen(markedText)]; p = &markedText[SDL_strlen(markedText)];
c = *p; c = *p;
*p = 0; *p = 0;