summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/ScrollWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/ScrollWindow.cpp')
-rw-r--r--nGenEx/ScrollWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/ScrollWindow.cpp b/nGenEx/ScrollWindow.cpp
index effd967..8b50c73 100644
--- a/nGenEx/ScrollWindow.cpp
+++ b/nGenEx/ScrollWindow.cpp
@@ -58,7 +58,7 @@ ScrollWindow::ScrollWindow(ActiveWindow* p, int ax, int ay, int aw, int ah, DWOR
thumb_pos = TRACK_START;
char buf[32];
- sprintf(buf, "ScrollWindow %d", id);
+ sprintf_s(buf, "ScrollWindow %d", id);
desc = buf;
}
@@ -89,7 +89,7 @@ ScrollWindow::ScrollWindow(Screen* s, int ax, int ay, int aw, int ah, DWORD aid,
thumb_pos = TRACK_START;
char buf[32];
- sprintf(buf, "ScrollWindow %d", id);
+ sprintf_s(buf, "ScrollWindow %d", id);
desc = buf;
}