Replaced strlen() with SDL_strlen() in IME test program.
parent
3a22321d55
commit
e8b4368512
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue