summaryrefslogtreecommitdiffhomepage
path: root/Magic2/ModelFileMAG.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Magic2/ModelFileMAG.cpp')
-rw-r--r--Magic2/ModelFileMAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Magic2/ModelFileMAG.cpp b/Magic2/ModelFileMAG.cpp
index 4157434..953f22d 100644
--- a/Magic2/ModelFileMAG.cpp
+++ b/Magic2/ModelFileMAG.cpp
@@ -78,7 +78,7 @@ ModelFileMAG::Load(Model* m, double scale)
}
ZeroMemory(pname, 64);
- strncpy_s(pname, filename, 63);
+ strncpy(pname, filename, 63);
char file_id[5];
fread(file_id, 4, 1, fp);