From 9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 21:12:14 +0000 Subject: More string safety stuff --- Stars45/QuantumView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Stars45/QuantumView.cpp') diff --git a/Stars45/QuantumView.cpp b/Stars45/QuantumView.cpp index 5f3ded2..0fb73c9 100644 --- a/Stars45/QuantumView.cpp +++ b/Stars45/QuantumView.cpp @@ -303,9 +303,9 @@ QuantumView::GetQuantumMenu(Ship* s) char text[64]; if (rgn_system != current_system) - sprintf(text, "%d. %s/%s", n++, rgn_system->Name(), rgn->Name()); + sprintf_s(text, "%d. %s/%s", n++, rgn_system->Name(), rgn->Name()); else - sprintf(text, "%d. %s", n++, rgn->Name()); + sprintf_s(text, "%d. %s", n++, rgn->Name()); quantum_menu->AddItem(text, (DWORD) rgn); } -- cgit v1.1