[Scummvm-cvs-logs] CVS: scummvm/sword1 control.cpp,1.30,1.31

Pawel Kolodziejski aquadran at users.sourceforge.net
Mon Mar 29 23:23:10 CEST 2004


Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27322/sword1

Modified Files:
	control.cpp 
Log Message:
please fix

Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/control.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- control.cpp	28 Mar 2004 16:30:49 -0000	1.30
+++ control.cpp	30 Mar 2004 07:11:01 -0000	1.31
@@ -681,7 +681,10 @@
 	va_list va;
 
 	va_start(va, message);
+	// PLEASE FIX IT, vsnprintf is not portable
+#ifndef _MSC_VER
 	vsnprintf(buf, sizeof(buf), message, va);
+#endif
 	va_end(va);
 
 	GUI::MessageDialog dialog(buf, "OK", altButton);





More information about the Scummvm-git-logs mailing list