From 4e117fe61651631c7b7427ed584ef3b1f9a7df69 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 17:31:07 +0000 Subject: Ditto... --- nGenEx/Solid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nGenEx/Solid.cpp') diff --git a/nGenEx/Solid.cpp b/nGenEx/Solid.cpp index 2aa241d..d059957 100644 --- a/nGenEx/Solid.cpp +++ b/nGenEx/Solid.cpp @@ -1875,7 +1875,7 @@ Surface::SetName(const char* n) int len = sizeof(name); ZeroMemory(name, len); - strncpy(name, n, len-1); + strncpy_s(name, n, len-1); } void @@ -2438,7 +2438,7 @@ ModelFile::ModelFile(const char* fname) { int len = sizeof(filename); ZeroMemory(filename, len); - strncpy(filename, fname, len); + strncpy_s(filename, fname, len); filename[len-1] = 0; } -- cgit v1.1