1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +01:00

Remove gMaxTextBoxInputLength (only written to)

This commit is contained in:
Gymnasiast
2022-08-21 18:54:51 +02:00
parent a088537b65
commit 2f6b82b13f
2 changed files with 0 additions and 4 deletions

View File

@@ -43,7 +43,6 @@ rct_window* gWindowAudioExclusive;
widget_identifier gCurrentTextBox = { { WindowClass::Null, 0 }, 0 };
char gTextBoxInput[TEXT_INPUT_SIZE] = { 0 };
int32_t gMaxTextBoxInputLength = 0;
int32_t gTextBoxFrameNo = 0;
bool gUsingWidgetTextBox = false;
TextInputSession* gTextInput;
@@ -1979,8 +1978,6 @@ void window_start_textbox(
gCurrentTextBox.widget_index = call_widget;
gTextBoxFrameNo = 0;
gMaxTextBoxInputLength = maxLength;
window_close_by_class(WindowClass::Textinput);
// Clear the text input buffer

View File

@@ -44,7 +44,6 @@ enum class RideConstructionState : uint8_t;
#define TOP_TOOLBAR_HEIGHT 27
extern char gTextBoxInput[TEXT_INPUT_SIZE];
extern int32_t gMaxTextBoxInputLength;
extern int32_t gTextBoxFrameNo;
extern bool gUsingWidgetTextBox;
extern struct TextInputSession* gTextInput;