summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MsnPkgDlg.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/MsnPkgDlg.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/MsnPkgDlg.cpp')
-rw-r--r--Stars45/MsnPkgDlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Stars45/MsnPkgDlg.cpp b/Stars45/MsnPkgDlg.cpp
index 847bf32..50a7b1c 100644
--- a/Stars45/MsnPkgDlg.cpp
+++ b/Stars45/MsnPkgDlg.cpp
@@ -141,7 +141,7 @@ MsnPkgDlg::DrawPackages()
ListIter<MissionElement> elem = mission->GetElements();
while (++elem) {
// display this element?
- if (elem->GetIFF() == mission->Team() &&
+ if (elem->GetIFF() == mission->Team() &&
!elem->IsSquadron() &&
elem->Region() == mission->GetRegion() &&
elem->GetDesign()->type < Ship::STATION) {
@@ -229,9 +229,9 @@ MsnPkgDlg::DrawThreats()
if (!mission) return;
MissionElement* player = mission->GetPlayer();
-
+
if (!player) return;
-
+
Text rgn0 = player->Region();
Text rgn1;
int iff = player->GetIFF();
@@ -257,11 +257,11 @@ MsnPkgDlg::DrawThreats()
continue;
if (elem->IsGroundUnit()) {
- if (!elem->GetDesign() ||
+ if (!elem->GetDesign() ||
elem->GetDesign()->type != Ship::SAM)
continue;
- if (elem->Region() != rgn0 &&
+ if (elem->Region() != rgn0 &&
elem->Region() != rgn1)
continue;
}
@@ -288,8 +288,8 @@ MsnPkgDlg::DrawThreats()
double dist = Point(base_loc - elem->Location()).length();
FormatNumber(rng, dist);
- sprintf_s(txt, "%s - %d %s - %s", role,
- elem->Count(),
+ sprintf_s(txt, "%s - %d %s - %s", role,
+ elem->Count(),
elem->GetDesign()->abrv,
rng);
if (threat[i])