From 806defa98e2a92129f709246de00e46447bf8ced Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 23 Jan 2011 15:07:46 +0000 Subject: SWORD25: Fix format string warnings. svn-id: r55465 --- engines/sword25/gfx/animationresource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/sword25') diff --git a/engines/sword25/gfx/animationresource.cpp b/engines/sword25/gfx/animationresource.cpp index f5e1831acc..8b1062c706 100644 --- a/engines/sword25/gfx/animationresource.cpp +++ b/engines/sword25/gfx/animationresource.cpp @@ -170,12 +170,12 @@ bool AnimationResource::parserCallback_frame(ParserNode *node) { 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"]; -- cgit v1.2.3