[Scummvm-cvs-logs] SF.net SVN: scummvm:[44931] scummvm/trunk/engines/sci/detection.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Oct 11 18:00:16 CEST 2009


Revision: 44931
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44931&view=rev
Author:   eriktorbjorn
Date:     2009-10-11 16:00:16 +0000 (Sun, 11 Oct 2009)

Log Message:
-----------
Fixed a warning, ironically inside a warning().

Modified Paths:
--------------
    scummvm/trunk/engines/sci/detection.cpp

Modified: scummvm/trunk/engines/sci/detection.cpp
===================================================================
--- scummvm/trunk/engines/sci/detection.cpp	2009-10-11 15:51:43 UTC (rev 44930)
+++ scummvm/trunk/engines/sci/detection.cpp	2009-10-11 16:00:16 UTC (rev 44931)
@@ -508,7 +508,7 @@
 		shrink_execution_stack(_gamestate, _gamestate->execution_stack_base + 1);
 		return Common::kNoError;
 	} else {
-		warning("Restoring gamestate '%s' failed.\n", fileName);
+		warning("Restoring gamestate '%s' failed.\n", fileName.c_str());
 		return Common::kUnknownError;
 	}
 }


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