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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user