aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/util
diff options
context:
space:
mode:
authorAlyssa Milburn2011-05-23 10:52:53 +0200
committerAlyssa Milburn2011-05-23 10:52:53 +0200
commit9b43822a424606f9ba4e8c924ed831bc1bdd6aae (patch)
tree344e667531d606fbceefc9651a68fb89d6280981 /engines/sword25/util
parentc13275e6572b6ecd5d2d1ffa1b4ca07dc1fcbb76 (diff)
downloadscummvm-rg350-9b43822a424606f9ba4e8c924ed831bc1bdd6aae.tar.gz
scummvm-rg350-9b43822a424606f9ba4e8c924ed831bc1bdd6aae.tar.bz2
scummvm-rg350-9b43822a424606f9ba4e8c924ed831bc1bdd6aae.zip
SWORD25: Fix error string parameter
Diffstat (limited to 'engines/sword25/util')
-rw-r--r--engines/sword25/util/lua/scummvm_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/util/lua/scummvm_file.cpp b/engines/sword25/util/lua/scummvm_file.cpp
index 2b7ac6d942..98fc1276a7 100644
--- a/engines/sword25/util/lua/scummvm_file.cpp
+++ b/engines/sword25/util/lua/scummvm_file.cpp
@@ -171,7 +171,7 @@ Common::String Sword25FileProxy::getLanguage() {
case Common::RU_RUS:
return "ru";
default:
- error("Unknown language '%s' encountered", ConfMan.get("language"));
+ error("Unknown language '%s' encountered", ConfMan.get("language").c_str());
break;
}
}