[Scummvm-cvs-logs] SF.net SVN: scummvm:[49896] scummvm/trunk/gui/massadd.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Jun 16 01:45:14 CEST 2010


Revision: 49896
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49896&view=rev
Author:   lordhoto
Date:     2010-06-15 23:45:13 +0000 (Tue, 15 Jun 2010)

Log Message:
-----------
Fix g++ warning "format not a string literal and no format arguments".

Modified Paths:
--------------
    scummvm/trunk/gui/massadd.cpp

Modified: scummvm/trunk/gui/massadd.cpp
===================================================================
--- scummvm/trunk/gui/massadd.cpp	2010-06-15 23:12:34 UTC (rev 49895)
+++ scummvm/trunk/gui/massadd.cpp	2010-06-15 23:45:13 UTC (rev 49896)
@@ -241,7 +241,7 @@
 		// Enable the OK button
 		_okButton->setEnabled(true);
 
-		snprintf(buf, sizeof(buf), _("Scan complete!"));
+		snprintf(buf, sizeof(buf), "%s", _("Scan complete!"));
 		_dirProgressText->setLabel(buf);
 
 		snprintf(buf, sizeof(buf), _("Discovered %d new games."), _games.size());


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list