From 204bdf0ea35138a15ef565a45782ba0598f82c4e Mon Sep 17 00:00:00 2001 From: Zero Fanker Date: Wed, 2 Oct 2024 16:27:04 -0400 Subject: [PATCH] resolved compile issue (#99) --- MissionEditor/All.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MissionEditor/All.cpp b/MissionEditor/All.cpp index 7a682a7..f8dad98 100644 --- a/MissionEditor/All.cpp +++ b/MissionEditor/All.cpp @@ -243,9 +243,7 @@ void CAll::OnAddkey() CString sec; m_Sections.GetLBText(cusection, sec); - CString key, value; - key = InputBox("Please set the name and value for the current key here: (for example, setting a new key ""Strength"" with the value 200 can be written as ""Strength=200"". You don´t need to specify a value.)", "Create key"); - + CString key = InputBox("Please set the name and value for the current key here: (for example, setting a new key ""Strength"" with the value 200 can be written as ""Strength=200"". You don´t need to specify a value.)", "Create key"); if (key.IsEmpty()) { return; }