ensure input string is terminated when pasting

This commit is contained in:
IntelOrca 2016-02-12 22:43:09 +00:00
parent 71b65e9880
commit 19d1338834
1 changed files with 1 additions and 0 deletions

View File

@ -677,6 +677,7 @@ void platform_process_messages()
}
gTextInputCursorPosition++;
}
gTextInput[gTextInputLength] = '\0';
window_update_textbox();
}
}