From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/FltDlg.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Stars45/FltDlg.cpp') diff --git a/Stars45/FltDlg.cpp b/Stars45/FltDlg.cpp index c432b82..5a2d1b2 100644 --- a/Stars45/FltDlg.cpp +++ b/Stars45/FltDlg.cpp @@ -267,7 +267,7 @@ FltDlg::UpdateSelection() switch (hangar->GetState(s)) { case Hangar::STORAGE: alert = true; break; - case Hangar::ALERT: launch = true; + case Hangar::ALERT: launch = true; stand = true; break; case Hangar::QUEUED: stand = true; break; case Hangar::ACTIVE: recall = true; break; @@ -328,7 +328,7 @@ FltDlg::UpdateSelection() if (!design) design = hangar->GetDesign(s); switch (hangar->GetState(s)) { - case Hangar::ALERT: launch = true; + case Hangar::ALERT: launch = true; stand = true; break; case Hangar::QUEUED: stand = true; break; } @@ -432,7 +432,7 @@ FltDlg::UpdateSelection() bool pkg_ok = alert && mission_type > -1; if (pkg_ok && mission_type > 0) { - pkg_ok = objective_list && + pkg_ok = objective_list && objective_list->GetSelCount() > 0; if (pkg_ok) { @@ -731,7 +731,7 @@ FltDlg::OnPackage(AWEvent* event) if (d && d->IsLaunchDeck()) { int dq = hangar->PreflightQueue(d); - + if (dq < queue) { queue = dq; deck = d; @@ -947,7 +947,7 @@ FltDlg::OnRecall(AWEvent* event) nsquad = hangar_list->GetItemData(i, 1); nslot = hangar_list->GetItemData(i, 2); } - + const HangarSlot* slot = hangar->GetSlot(nsquad, nslot); Ship* recall = hangar->GetShip(slot); @@ -957,7 +957,7 @@ FltDlg::OnRecall(AWEvent* event) } } } - } + } } // +--------------------------------------------------------------------+ -- cgit v1.1