Update gTextBoxInput size to be at least CHAT_INPUT_SIZE large

Fixes #5365
This commit is contained in:
Michał Janiszewski 2017-04-14 17:57:22 +02:00
parent f07fb2dfe1
commit f3ad6de014
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ rct_window * gWindowAudioExclusive;
uint16 TextInputDescriptionArgs[4];
widget_identifier gCurrentTextBox = { { 255, 0 }, 0 };
char gTextBoxInput[512] = { 0 };
char gTextBoxInput[1024] = { 0 };
sint32 gMaxTextBoxInputLength = 0;
sint32 gTextBoxFrameNo = 0;
bool gUsingWidgetTextBox = 0;

View File

@ -35,7 +35,7 @@ struct track_design_file_ref;
struct TitleSequence;
extern uint16 TextInputDescriptionArgs[4];
extern char gTextBoxInput[512];
extern char gTextBoxInput[1024];
extern sint32 gMaxTextBoxInputLength;
extern sint32 gTextBoxFrameNo;
extern bool gUsingWidgetTextBox;