summaryrefslogtreecommitdiffhomepage
path: root/Stars45/FltDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/FltDlg.cpp')
-rw-r--r--Stars45/FltDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/FltDlg.cpp b/Stars45/FltDlg.cpp
index 920c58e..04ac926 100644
--- a/Stars45/FltDlg.cpp
+++ b/Stars45/FltDlg.cpp
@@ -228,7 +228,7 @@ FltDlg::UpdateSelection()
hangar_list->SetItemText(item, 4, txt);
}
- else if (hangar->GetState(s) || Hangar::MAINT ||
+ else if (hangar->GetState(s) == Hangar::MAINT ||
hangar->GetState(s) > Hangar::STORAGE) {
FormatTime(txt, hangar->TimeRemaining(s));
hangar_list->SetItemText(item, 4, txt);