From 038da00e799b4bf3af824075a260083c56392964 Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Tue, 6 Sep 2022 13:21:09 +0300 Subject: Code optimizations / refactor (#12704) Co-authored-by: SmallJoker Co-authored-by: sfan5 --- src/gui/guiEngine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/guiEngine.cpp') diff --git a/src/gui/guiEngine.cpp b/src/gui/guiEngine.cpp index 01f3f8fd5..bcbc90e13 100644 --- a/src/gui/guiEngine.cpp +++ b/src/gui/guiEngine.cpp @@ -195,7 +195,7 @@ GUIEngine::GUIEngine(JoystickController *joystick, try { m_script->setMainMenuData(&m_data->script_data); - m_data->script_data.errormessage = ""; + m_data->script_data.errormessage.clear(); if (!loadMainMenuScript()) { errorstream << "No future without main menu!" << std::endl; -- cgit v1.2.3