[Scummvm-cvs-logs] CVS: residual textsplit.cpp,1.4,1.5

Max Horn fingolfin at users.sourceforge.net
Mon Aug 25 14:55:06 CEST 2003


Update of /cvsroot/scummvm/residual
In directory sc8-pr-cvs1:/tmp/cvs-serv15149

Modified Files:
	textsplit.cpp 
Log Message:
vsscanf isn't part of the the standard, and hence not in the std:: namespace (at least over here). If this causes problems for somebody, please flag me and we can work out a solution

Index: textsplit.cpp
===================================================================
RCS file: /cvsroot/scummvm/residual/textsplit.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- textsplit.cpp	24 Aug 2003 17:56:03 -0000	1.4
+++ textsplit.cpp	25 Aug 2003 19:21:00 -0000	1.5
@@ -77,7 +77,7 @@
   #ifdef WIN32
   if (residual_vsscanf(currentLine(), field_count, fmt, va) < field_count)
   #else
-  if (std::vsscanf(currentLine(), fmt, va) < field_count)
+  if (vsscanf(currentLine(), fmt, va) < field_count)
   #endif
     error("Expected line of format `%s', got `%s'\n", fmt, currentLine());
   va_end(va);





More information about the Scummvm-git-logs mailing list