summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/VideoDX9Enum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/VideoDX9Enum.cpp')
-rw-r--r--nGenEx/VideoDX9Enum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/VideoDX9Enum.cpp b/nGenEx/VideoDX9Enum.cpp
index ca2ca7a..bfa98f7 100644
--- a/nGenEx/VideoDX9Enum.cpp
+++ b/nGenEx/VideoDX9Enum.cpp
@@ -930,7 +930,7 @@ VideoDX9DisplayMode::GetDescription() const
{
static char desc[32];
- sprintf(desc, "%4d x %4d %-12s %d Hz",
+ sprintf_s(desc, "%4d x %4d %-12s %d Hz",
width,
height,
D3DFormatToString(format),