aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx
diff options
context:
space:
mode:
authorTorbjörn Andersson2011-01-23 15:07:46 +0000
committerTorbjörn Andersson2011-01-23 15:07:46 +0000
commit806defa98e2a92129f709246de00e46447bf8ced (patch)
treed9555b4c35cba813facdca8d268051e063b956a4 /engines/sword25/gfx
parent125078582262b40dfa53695c5e3e30d48f1ec380 (diff)
downloadscummvm-rg350-806defa98e2a92129f709246de00e46447bf8ced.tar.gz
scummvm-rg350-806defa98e2a92129f709246de00e46447bf8ced.tar.bz2
scummvm-rg350-806defa98e2a92129f709246de00e46447bf8ced.zip
SWORD25: Fix format string warnings.
svn-id: r55465
Diffstat (limited to 'engines/sword25/gfx')
-rw-r--r--engines/sword25/gfx/animationresource.cpp4
1 files changed, 2 insertions, 2 deletions
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"];