From e34429207c9d632a1f72680a08409992e81d95a5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 28 Jan 2015 21:11:46 -0500 Subject: XEEN: Add missing c_str to a Common::String::format call --- engines/xeen/town.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/xeen') 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); -- cgit v1.2.3