From ad7b947da324c7e3219e4fb2e47bce1006327d97 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 21 Feb 2018 21:19:09 -0500 Subject: XEEN: Change Resource String fields to const char * All too many of the resource strings are used as parameters in Common::String::format calls, and it proved too laborious trying to add .c_str() suffixes everywhere it'd be appropriate. Easier to simply change all the Reosucre fields back to being const char * --- engines/xeen/dialogs_quests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/xeen/dialogs_quests.cpp') diff --git a/engines/xeen/dialogs_quests.cpp b/engines/xeen/dialogs_quests.cpp index 73035b3bb9..5e5171ea87 100644 --- a/engines/xeen/dialogs_quests.cpp +++ b/engines/xeen/dialogs_quests.cpp @@ -91,7 +91,7 @@ void Quests::execute() { case 83: case 84: lines[count++] = Common::String::format("%d %s%c", - party._questItems[idx], Res.QUEST_ITEM_NAMES[idx].c_str(), + party._questItems[idx], Res.QUEST_ITEM_NAMES[idx], party._questItems[idx] == 1 ? ' ' : 's'); break; default: -- cgit v1.2.3