Skip to content

Commit

Permalink
Replaced strlen() with SDL_strlen() in IME test program.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed Mar 2, 2016
1 parent 3a22321 commit e8b4368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testime.c
Expand Up @@ -159,7 +159,7 @@ void _Redraw(SDL_Renderer * renderer) {
char *p = utf8_advance(markedText, cursor);
char c = 0;
if (!p)
p = &markedText[strlen(markedText)];
p = &markedText[SDL_strlen(markedText)];

c = *p;
*p = 0;
Expand Down

0 comments on commit e8b4368

Please sign in to comment.