aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sword25/gfx/animationresource.cpp4
-rw-r--r--engines/sword25/sword25.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/gfx/animationresource.cpp b/engines/sword25/gfx/animationresource.cpp
index 3ab1991ca4..9f66469ebb 100644
--- a/engines/sword25/gfx/animationresource.cpp
+++ b/engines/sword25/gfx/animationresource.cpp
@@ -206,7 +206,7 @@ bool AnimationResource::parserCallback_frame(ParserNode *node) {
if (!flipVString.empty()) {
if (!parseBooleanKey(flipVString, frame.FlipV)) {
BS_LOG_WARNINGLN("Illegal flipv value (\"%s\") in <frame> tag in \"%s\". Assuming default (\"false\").",
- flipVString, GetFileName().c_str());
+ flipVString.c_str(), GetFileName().c_str());
frame.FlipV = false;
}
} else
@@ -216,7 +216,7 @@ bool AnimationResource::parserCallback_frame(ParserNode *node) {
if (!flipHString.empty()) {
if (!parseBooleanKey(flipVString, frame.FlipV)) {
BS_LOG_WARNINGLN("Illegal fliph value (\"%s\") in <frame> tag in \"%s\". Assuming default (\"false\").",
- flipHString, GetFileName().c_str());
+ flipHString.c_str(), GetFileName().c_str());
frame.FlipH = false;
}
} else
diff --git a/engines/sword25/sword25.cpp b/engines/sword25/sword25.cpp
index 946865cf10..f850bfb43b 100644
--- a/engines/sword25/sword25.cpp
+++ b/engines/sword25/sword25.cpp
@@ -50,7 +50,7 @@ const char *const PACKAGE_MANAGER = "archiveFS";
const char *const DEFAULT_SCRIPT_FILE = "/system/boot.lua";
void LogToStdout(const char *Message) {
- debugN(0, Message);
+ debugN(0, "%s", Message);
}
Sword25Engine::Sword25Engine(OSystem *syst, const ADGameDescription *gameDesc):