diff options
author | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-01-30 17:41:24 +0100 |
commit | 51657e10769faa2617d546a06c42e4c62a19bb50 (patch) | |
tree | 688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/NetUnitDlg.cpp | |
parent | db987e23d5dd33a5db8764743facbb906ac22b0f (diff) | |
download | starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2 |
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/NetUnitDlg.cpp')
-rw-r--r-- | Stars45/NetUnitDlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/NetUnitDlg.cpp b/Stars45/NetUnitDlg.cpp index 28b264a..b3f0115 100644 --- a/Stars45/NetUnitDlg.cpp +++ b/Stars45/NetUnitDlg.cpp @@ -196,7 +196,7 @@ NetUnitDlg::ExecFrame() if (lst_players && lst_units && btn_select->IsVisible()) { int sel_unit = lst_units->GetSelection(); - enable = sel_unit >= 0 && + enable = sel_unit >= 0 && lst_units->GetItemText(sel_unit).length() == 0; } @@ -210,7 +210,7 @@ NetUnitDlg::ExecFrame() int sel_play = lst_players->GetSelection(); int sel_unit = lst_units->GetSelection(); - enable = sel_unit >= 0 && sel_play >= 0 && + enable = sel_unit >= 0 && sel_play >= 0 && lst_units->GetItemText(sel_unit).length() == 0; if (enable && !host_mode) { |