From 396c12ee73193f4ac3665ecac2f634fc0b046697 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 16:46:21 +0000 Subject: Fixes for unsafe string handling, variable scoping errors. --- nGenEx/VideoSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nGenEx/VideoSettings.cpp') 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; } -- cgit v1.1