From d8d37f2fe9983ed83bf1f52e9c6e7627ab56ca1d Mon Sep 17 00:00:00 2001 From: Zero Fanker Date: Sat, 8 Jun 2024 13:21:57 -0400 Subject: [PATCH] code format . --- MissionEditor/functions.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MissionEditor/functions.cpp b/MissionEditor/functions.cpp index 25e6803..ef5a776 100644 --- a/MissionEditor/functions.cpp +++ b/MissionEditor/functions.cpp @@ -481,7 +481,9 @@ void TruncSpace(CString& str) { str.TrimLeft(); str.TrimRight(); - if (str.Find(" ") >= 0) str.Delete(str.Find(" "), str.GetLength() - str.Find(" ")); + if (str.Find(" ") >= 0) { + str.Delete(str.Find(" "), str.GetLength() - str.Find(" ")); + } } CString GetText(CWnd* wnd) {