summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Game.cpp
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-07-16 17:51:12 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-07-16 17:51:12 +0000
commitd247e6df50e9377cc5ecd0f4c29cc40de4165d1a (patch)
tree460f29768ba7ff213ead361f1165f2028fcf56d8 /nGenEx/Game.cpp
parent48cce8ead9fdd6be5f1c4593235c56adb9156bea (diff)
downloadstarshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.zip
starshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.tar.gz
starshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.tar.bz2
Ignore PVS Studio warning V576
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);