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/EngDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/EngDlg.cpp') diff --git a/Stars45/EngDlg.cpp b/Stars45/EngDlg.cpp index 3ceae84..ec19044 100644 --- a/Stars45/EngDlg.cpp +++ b/Stars45/EngDlg.cpp @@ -265,7 +265,7 @@ EngDlg::UpdateRouteTables() while (++client) { char abrv[64], num[20]; FormatNumber(num, client->GetPowerLevel()); - strcpy(abrv, Game::GetText(client->Name())); + strcpy_s(abrv, Game::GetText(client->Name())); clients[reactor_index]->AddItemWithData(Game::GetText(abrv), index); clients[reactor_index]->SetItemText(index, 1, num); -- cgit v1.1