Update gTextBoxInput size to be at least CHAT_INPUT_SIZE large

Fixes #5365
This commit is contained in:
Michał Janiszewski committed 2017-04-14 17:58:42 +02:00
1 parent f07fb2dfe1
commit f3ad6de014
2 files changed
+2 -2

No files matched your search

+1 -1
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;
+1 -1
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;