From c6e7ad5e45b83f22f2e85261032d3fd6c359d91b Mon Sep 17 00:00:00 2001 From: BannZay Date: Sun, 27 Nov 2016 20:50:20 +0200 Subject: [PATCH] map details button name fix --- src/game/editor/popups.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/editor/popups.cpp b/src/game/editor/popups.cpp index a599a1805..8ceebb61c 100644 --- a/src/game/editor/popups.cpp +++ b/src/game/editor/popups.cpp @@ -1005,7 +1005,7 @@ int CEditor::PopupMapInfo(CEditor *pEditor, CUIRect View) ButtonBar.VSplitLeft(30.0f, 0, &ButtonBar); ButtonBar.VSplitLeft(110.0f, &Label, &ButtonBar); static int s_CreateButton = 0; - if(pEditor->DoButton_Editor(&s_CreateButton, "Save", 0, &Label, 0, 0)) + if(pEditor->DoButton_Editor(&s_CreateButton, "Ok", 0, &Label, 0, 0)) { str_copy(pEditor->m_Map.m_MapInfo.m_aAuthor, pEditor->m_Map.m_MapInfo.m_aAuthorTmp, sizeof(pEditor->m_Map.m_MapInfo.m_aAuthor)); str_copy(pEditor->m_Map.m_MapInfo.m_aVersion, pEditor->m_Map.m_MapInfo.m_aVersionTmp, sizeof(pEditor->m_Map.m_MapInfo.m_aVersion));