aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/animationtemplateregistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword25/gfx/animationtemplateregistry.cpp')
-rw-r--r--engines/sword25/gfx/animationtemplateregistry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/gfx/animationtemplateregistry.cpp b/engines/sword25/gfx/animationtemplateregistry.cpp
index d942ac2ff7..ee58003455 100644
--- a/engines/sword25/gfx/animationtemplateregistry.cpp
+++ b/engines/sword25/gfx/animationtemplateregistry.cpp
@@ -42,11 +42,11 @@ DECLARE_SINGLETON(Sword25::AnimationTemplateRegistry);
namespace Sword25 {
void AnimationTemplateRegistry::logErrorLn(const char *message) const {
- error(message);
+ error("%s", message);
}
void AnimationTemplateRegistry::logWarningLn(const char *message) const {
- warning(message);
+ warning("%s", message);
}
bool AnimationTemplateRegistry::persist(OutputPersistenceBlock &writer) {