diff options
Diffstat (limited to 'nGenEx/Window.cpp')
-rw-r--r-- | nGenEx/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/Window.cpp b/nGenEx/Window.cpp index a69e00d..c0e0369 100644 --- a/nGenEx/Window.cpp +++ b/nGenEx/Window.cpp @@ -882,7 +882,7 @@ Window::Print(int x1, int y1, const char* fmt, ...) y1 += rect.y;
char msgbuf[512];
- vsprintf(msgbuf, fmt, (char *)(&fmt+1));
+ vsprintf_s(msgbuf, fmt, (char *)(&fmt+1));
font->DrawString(msgbuf, strlen(msgbuf), x1, y1, rect);
}
|