[Scummvm-cvs-logs] SF.net SVN: scummvm:[55465] scummvm/trunk/engines/sword25/gfx/ animationresource.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Jan 23 16:07:46 CET 2011


Revision: 55465
          http://scummvm.svn.sourceforge.net/scummvm/?rev=55465&view=rev
Author:   eriktorbjorn
Date:     2011-01-23 15:07:46 +0000 (Sun, 23 Jan 2011)

Log Message:
-----------
SWORD25: Fix format string warnings.

Modified Paths:
--------------
    scummvm/trunk/engines/sword25/gfx/animationresource.cpp

Modified: scummvm/trunk/engines/sword25/gfx/animationresource.cpp
===================================================================
--- scummvm/trunk/engines/sword25/gfx/animationresource.cpp	2011-01-23 15:01:24 UTC (rev 55464)
+++ scummvm/trunk/engines/sword25/gfx/animationresource.cpp	2011-01-23 15:07:46 UTC (rev 55465)
@@ -170,12 +170,12 @@
 
 	frame.hotspotX = 0;
 	if (hotspotxString && !parseIntegerKey(hotspotxString, 1, &frame.hotspotX))
-		warning("Illegal hotspotx value (\"%s\") in frame tag in \"%s\". Assuming default (\"%s\").",
+		warning("Illegal hotspotx value (\"%s\") in frame tag in \"%s\". Assuming default (\"%d\").",
 		                 hotspotxString, getFileName().c_str(), frame.hotspotX);
 
 	frame.hotspotY = 0;
 	if (hotspotyString && !parseIntegerKey(hotspotyString, 1, &frame.hotspotY))
-		warning("Illegal hotspoty value (\"%s\") in frame tag in \"%s\". Assuming default (\"%s\").",
+		warning("Illegal hotspoty value (\"%s\") in frame tag in \"%s\". Assuming default (\"%d\").",
 		                 hotspotyString, getFileName().c_str(), frame.hotspotY);
 
 	Common::String flipVString = node->values["flipv"];


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