summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/Game.cpp')
-rw-r--r--nGenEx/Game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/Game.cpp b/nGenEx/Game.cpp
index 162b815..50d1b28 100644
--- a/nGenEx/Game.cpp
+++ b/nGenEx/Game.cpp
@@ -1130,7 +1130,7 @@ Game::ScreenCapture(const char* name)
if (name)
strcpy_s(filename, name);
else
- sprintf_s(filename, "A%d.PCX", shot_num++);
+ sprintf_s(filename, "A%d.PCX", shot_num++); //-V576
Bitmap bmp;
@@ -1179,7 +1179,7 @@ Game::AVICapture(const char* name)
if (name)
strcpy_s(filename, name);
else
- sprintf_s(filename, "A%d.avi", avi_num);
+ sprintf_s(filename, "A%d.avi", avi_num); //-V576
if (video && video->Capture(bmp)) {
//bmp.ScaleTo(bmp.Width()/2, bmp.Height()/2);