Replaced strlen() with SDL_strlen() in IME test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 02 Mar 2016 20:24:43 +0100
changeset 10097 06085b9c73ef
parent 10096 330f500d5815
child 10098 91b34fbbb88e
Replaced strlen() with SDL_strlen() in IME test program.
test/testime.c
--- a/test/testime.c	Wed Feb 17 15:14:20 2016 +0800
+++ b/test/testime.c	Wed Mar 02 20:24:43 2016 +0100
@@ -159,7 +159,7 @@
             char *p = utf8_advance(markedText, cursor);
             char c = 0;
             if (!p)
-                p = &markedText[strlen(markedText)];
+                p = &markedText[SDL_strlen(markedText)];
 
             c = *p;
             *p = 0;