summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NavDlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NavDlg.cpp')
-rw-r--r--Stars45/NavDlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/NavDlg.cpp b/Stars45/NavDlg.cpp
index 7ddd3cd..898636a 100644
--- a/Stars45/NavDlg.cpp
+++ b/Stars45/NavDlg.cpp
@@ -765,7 +765,7 @@ NavDlg::UpdateSelection()
sprintf_s(shield, "%03d", sel_ship->ShieldStrength());
sprintf_s(hull, "%03d", sel_ship->HullStrength());
- sprintf_s(range, Game::GetText("NavDlg.not-avail").data());
+ sprintf_s(range, "%s", Game::GetText("NavDlg.not-avail").data());
if (ship) {
FormatNumberExp(range, Point(sel_ship->Location()-ship->Location()).length()/1000);