diff options
Diffstat (limited to 'engines/sword25')
-rw-r--r-- | engines/sword25/gfx/animationtemplateregistry.cpp | 4 | ||||
-rw-r--r-- | engines/sword25/gfx/renderobjectregistry.cpp | 4 | ||||
-rw-r--r-- | engines/sword25/math/regionregistry.cpp | 4 |
3 files changed, 6 insertions, 6 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) { diff --git a/engines/sword25/gfx/renderobjectregistry.cpp b/engines/sword25/gfx/renderobjectregistry.cpp index f8c7c39789..40029957b1 100644 --- a/engines/sword25/gfx/renderobjectregistry.cpp +++ b/engines/sword25/gfx/renderobjectregistry.cpp @@ -39,11 +39,11 @@ DECLARE_SINGLETON(Sword25::RenderObjectRegistry); namespace Sword25 { void RenderObjectRegistry::logErrorLn(const char *message) const { - error(message); + error("%s", message); } void RenderObjectRegistry::logWarningLn(const char *message) const { - warning(message); + warning("%s", message); } } // End of namespace Sword25 diff --git a/engines/sword25/math/regionregistry.cpp b/engines/sword25/math/regionregistry.cpp index f11f45540f..5802fbb3ff 100644 --- a/engines/sword25/math/regionregistry.cpp +++ b/engines/sword25/math/regionregistry.cpp @@ -42,11 +42,11 @@ DECLARE_SINGLETON(Sword25::RegionRegistry); namespace Sword25 { void RegionRegistry::logErrorLn(const char *message) const { - error(message); + error("%s", message); } void RegionRegistry::logWarningLn(const char *message) const { - warning(message); + warning("%s", message); } bool RegionRegistry::persist(OutputPersistenceBlock &writer) { |