From d247e6df50e9377cc5ecd0f4c29cc40de4165d1a Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Mon, 16 Jul 2012 17:51:12 +0000 Subject: Ignore PVS Studio warning V576 --- nGenEx/Game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nGenEx/Game.cpp') 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); -- cgit v1.1