summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Button.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/Button.cpp
parent48cce8ead9fdd6be5f1c4593235c56adb9156bea (diff)
downloadstarshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.zip
starshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.tar.gz
starshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.tar.bz2
Ignore PVS Studio warning V576
Diffstat (limited to 'nGenEx/Button.cpp')
-rw-r--r--nGenEx/Button.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/Button.cpp b/nGenEx/Button.cpp
index f5318d5..c9cfcab 100644
--- a/nGenEx/Button.cpp
+++ b/nGenEx/Button.cpp
@@ -64,7 +64,7 @@ Button::Button(Screen* s, int ax, int ay, int aw, int ah, DWORD aid)
transition_image = 0;
char buf[32];
- sprintf_s(buf, "Button %d", id);
+ sprintf_s(buf, "Button %d", id); //-V576
desc = buf;
}
@@ -87,7 +87,7 @@ Button::Button(ActiveWindow* p, int ax, int ay, int aw, int ah, DWORD aid)
transition_image = 0;
char buf[32];
- sprintf_s(buf, "Button %d", id);
+ sprintf_s(buf, "Button %d", id); //-V576
desc = buf;
}