summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/ImageBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/ImageBox.cpp')
-rw-r--r--nGenEx/ImageBox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/ImageBox.cpp b/nGenEx/ImageBox.cpp
index 36b866d..144e1d4 100644
--- a/nGenEx/ImageBox.cpp
+++ b/nGenEx/ImageBox.cpp
@@ -28,7 +28,7 @@ ImageBox::ImageBox(ActiveWindow* p, int ax, int ay, int aw, int ah, DWORD aid)
text_align = DT_CENTER;
char buf[32];
- sprintf(buf, "ImageBox %d", id);
+ sprintf_s(buf, "ImageBox %d", id);
desc = buf;
}
@@ -39,7 +39,7 @@ ImageBox::ImageBox(Screen* s, int ax, int ay, int aw, int ah, DWORD aid)
text_align = DT_CENTER;
char buf[32];
- sprintf(buf, "ImageBox %d", id);
+ sprintf_s(buf, "ImageBox %d", id);
desc = buf;
}