To Reproduce
- Create a save file
- Outside of the game, rename the save file to something over 200 characters long
- Load the save file in-game
- Click save game
- In the browse prompt window, click the text entry box and start typing.
- The game eventually crashes due to string buffer overflow exception.
Expected behaviour
No characters should be added when the length limit is already exceeded.
Additional context
TextInput.cpp L19 uses == instead of >=, which is likely the cause of this.