mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-01 01:21:41 -04:00
code format .
This commit is contained in:
parent
5685ea941a
commit
d8d37f2fe9
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue