code format .

This commit is contained in:
Zero Fanker 2024-06-08 13:21:57 -04:00
parent 5685ea941a
commit d8d37f2fe9

View file

@ -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) {