mirror of https://github.com/OpenRCT2/OpenRCT2.git
ensure input string is terminated when pasting
This commit is contained in:
parent
71b65e9880
commit
19d1338834
|
@ -677,6 +677,7 @@ void platform_process_messages()
|
|||
}
|
||||
gTextInputCursorPosition++;
|
||||
}
|
||||
gTextInput[gTextInputLength] = '\0';
|
||||
window_update_textbox();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue