From 788878e7fcc1120b14ed7bea9528aecc04da2a19 Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Fri, 22 Mar 2024 08:58:11 +0000 Subject: [PATCH] Add missing statics --- src/openrct2-ui/interface/Window.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openrct2-ui/interface/Window.cpp b/src/openrct2-ui/interface/Window.cpp index bef13339fa..e070d455af 100644 --- a/src/openrct2-ui/interface/Window.cpp +++ b/src/openrct2-ui/interface/Window.cpp @@ -835,11 +835,11 @@ ScreenCoordsXY WindowGetViewportSoundIconPos(WindowBase& w) namespace OpenRCT2::Ui::Windows { - u8string _textBoxInput; - int32_t _textBoxFrameNo = 0; - bool _usingWidgetTextBox = false; - TextInputSession* _textInput; - WidgetIdentifier _currentTextBox = { { WindowClass::Null, 0 }, 0 }; + static u8string _textBoxInput; + static int32_t _textBoxFrameNo = 0; + static bool _usingWidgetTextBox = false; + static TextInputSession* _textInput; + static WidgetIdentifier _currentTextBox = { { WindowClass::Null, 0 }, 0 }; WindowBase* WindowGetListening() {