summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/VideoSettings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/VideoSettings.cpp')
-rw-r--r--nGenEx/VideoSettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/nGenEx/VideoSettings.cpp b/nGenEx/VideoSettings.cpp
index cd4c8df..eaa2cd7 100644
--- a/nGenEx/VideoSettings.cpp
+++ b/nGenEx/VideoSettings.cpp
@@ -247,7 +247,7 @@ VideoMode::GetDescription() const
case VideoMode::FMT_X8R8G8B8: bpp = 32; break;
}
- sprintf(desc, "%d x %d x %d", width, height, bpp);
+ sprintf_s(desc, "%d x %d x %d", width, height, bpp);
return desc;
}