summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/RichTextBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/RichTextBox.cpp')
-rw-r--r--nGenEx/RichTextBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/RichTextBox.cpp b/nGenEx/RichTextBox.cpp
index 6b8bff0..c03f6d0 100644
--- a/nGenEx/RichTextBox.cpp
+++ b/nGenEx/RichTextBox.cpp
@@ -31,7 +31,7 @@ RichTextBox::RichTextBox(ActiveWindow* p, int ax, int ay, int aw, int ah, DWORD
leading = 2;
char buf[32];
- sprintf(buf, "RichTextBox %d", id);
+ sprintf_s(buf, "RichTextBox %d", id);
desc = buf;
}