diff options
Diffstat (limited to 'nGenEx/EditBox.cpp')
-rw-r--r-- | nGenEx/EditBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/EditBox.cpp b/nGenEx/EditBox.cpp index 0cc780d..bc78a1f 100644 --- a/nGenEx/EditBox.cpp +++ b/nGenEx/EditBox.cpp @@ -39,7 +39,7 @@ EditBox::EditBox(ActiveWindow* p, int ax, int ay, int aw, int ah, DWORD aid) selected_color = Color::Yellow;
char buf[32];
- sprintf(buf, "EditBox %d", id);
+ sprintf_s(buf, "EditBox %d", id);
desc = buf;
}
@@ -54,7 +54,7 @@ EditBox::EditBox(Screen* s, int ax, int ay, int aw, int ah, DWORD aid) selected_color = Color::Yellow;
char buf[32];
- sprintf(buf, "EditBox %d", id);
+ sprintf_s(buf, "EditBox %d", id);
desc = buf;
}
|