aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-12-10 13:46:58 -0500
committerPaul Gilbert2017-12-10 13:46:58 -0500
commit140f575c70273d69bc1c31c3e0c5641c8982dce7 (patch)
tree8e4eaec93c6adecab4f5b0a6e3eb3fe7f803fc79
parent6420add46c79d1ebb23654ad904ce913513797fe (diff)
downloadscummvm-rg350-140f575c70273d69bc1c31c3e0c5641c8982dce7.tar.gz
scummvm-rg350-140f575c70273d69bc1c31c3e0c5641c8982dce7.tar.bz2
scummvm-rg350-140f575c70273d69bc1c31c3e0c5641c8982dce7.zip
XEEN: Fix several malformed string constants
-rw-r--r--engines/xeen/dialogs_items.cpp2
-rw-r--r--engines/xeen/scripts.cpp2
-rw-r--r--engines/xeen/town.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/xeen/dialogs_items.cpp b/engines/xeen/dialogs_items.cpp
index 867bc7dbc1..9f08e8bc55 100644
--- a/engines/xeen/dialogs_items.cpp
+++ b/engines/xeen/dialogs_items.cpp
@@ -1051,7 +1051,7 @@ void ItemsDialog::itemToGold(Character &c, int itemIndex, ItemCategory category,
if (category == CATEGORY_WEAPON && item._id == 34) {
sound.playFX(21);
- ErrorScroll::show(_vm, Common::String::format("\v012\t000\x03c%s",
+ ErrorScroll::show(_vm, Common::String::format("\v012\t000\x03""c%s",
Res.SPELL_FAILED));
} else if (item._id != 0) {
// There is a valid item present
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 3036280ea5..d64141aabb 100644
--- a/engines/xeen/scripts.cpp
+++ b/engines/xeen/scripts.cpp
@@ -1307,7 +1307,7 @@ bool Scripts::cmdDisplayBottomTwoLines(ParamsIterator &params) {
params.readByte();
int textId = params.readByte();
- Common::String msg = Common::String::format("\r\x03c\t000\v007%s\n\n%s",
+ Common::String msg = Common::String::format("\r\x03""c\t000\v007%s\n\n%s",
"",
map._events._text[textId].c_str());
w.close();
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp
index c2622818d8..069ff8f818 100644
--- a/engines/xeen/town.cpp
+++ b/engines/xeen/town.cpp
@@ -1295,7 +1295,7 @@ bool TownMessage::execute(int portrait, const Common::String &name, const Common
int result = -1;
Common::String msgText = text;
do {
- Common::String msg = Common::String::format("\r\v014\x03c\t125%s\t000\v054%s",
+ Common::String msg = Common::String::format("\r\v014\x03""c\t125%s\t000\v054%s",
name.c_str(), msgText.c_str());
// Count the number of words