aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/town.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-01-28 21:11:46 -0500
committerPaul Gilbert2015-01-28 21:11:46 -0500
commite34429207c9d632a1f72680a08409992e81d95a5 (patch)
treed0c3ce4202faade49567b597a741f8034242058b /engines/xeen/town.cpp
parent60c462bfdcb9cb342ccb3367b64c599144f70e57 (diff)
downloadscummvm-rg350-e34429207c9d632a1f72680a08409992e81d95a5.tar.gz
scummvm-rg350-e34429207c9d632a1f72680a08409992e81d95a5.tar.bz2
scummvm-rg350-e34429207c9d632a1f72680a08409992e81d95a5.zip
XEEN: Add missing c_str to a Common::String::format call
Diffstat (limited to 'engines/xeen/town.cpp')
-rw-r--r--engines/xeen/town.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/town.cpp b/engines/xeen/town.cpp
index 303ef50699..f90ffbd481 100644
--- a/engines/xeen/town.cpp
+++ b/engines/xeen/town.cpp
@@ -688,7 +688,7 @@ Character *Town::doTavernOptions(Character *c) {
}
Common::String msg = Common::String::format("\x03""c\x0B""012%s",
- _textStrings[(party._day % 10) + idx]);
+ _textStrings[(party._day % 10) + idx].c_str());
Window &w = screen._windows[12];
w.open();
w.writeString(msg);