summaryrefslogtreecommitdiffhomepage
path: root/Stars45/RadioView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/RadioView.cpp')
-rw-r--r--Stars45/RadioView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/RadioView.cpp b/Stars45/RadioView.cpp
index a554456..f5905fe 100644
--- a/Stars45/RadioView.cpp
+++ b/Stars45/RadioView.cpp
@@ -282,7 +282,7 @@ RadioView::Refresh()
ListIter<MenuItem> item = menu->GetItems();
while (++item) {
- if (ship->GetEMCON() < 2 ||
+ if (ship->GetEMCON() < 2 ||
(TargetRequired(item.value()) && !ship->GetTarget()) ||
item->GetText().contains("KIA")) {
item->SetEnabled(false);
@@ -607,7 +607,7 @@ RadioView::GetRadioMenu(Ship* s)
if (num_pages > 1) {
char text[64];
sprintf_s(text, Game::GetText("RadioView.item.next-page").data(), starship_page + 1, num_pages);
- starship_menu->AddItem(text);
+ starship_menu->AddItem(text);
}
return starship_menu;