Commit e8b436851235c1ec3291e46a28b173bdad713799

Philipp Wiesemann 2016-03-02T20:24:43

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

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testime.c b/test/testime.c
index d6e7ea1..ff1c529 100644
--- a/test/testime.c
+++ b/test/testime.c
@@ -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;