diff --git a/project/jni/sdl-1.3/src/video/android/SDL_androidinput.c b/project/jni/sdl-1.3/src/video/android/SDL_androidinput.c index 2c76598a1..275d9b28b 100644 --- a/project/jni/sdl-1.3/src/video/android/SDL_androidinput.c +++ b/project/jni/sdl-1.3/src/video/android/SDL_androidinput.c @@ -679,6 +679,7 @@ void SDL_ANDROID_TextInputInit(char * buffer, int len) { textInputBuffer = buffer; textInputBufferLen = len; + textInputBufferPos = 0; } JNIEXPORT void JNICALL