aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mortevielle/dialogs.cpp')
-rw-r--r--engines/mortevielle/dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mortevielle/dialogs.cpp b/engines/mortevielle/dialogs.cpp
index 29722a1b59..2536533251 100644
--- a/engines/mortevielle/dialogs.cpp
+++ b/engines/mortevielle/dialogs.cpp
@@ -220,8 +220,8 @@ void DialogManager::decodeAlertDetails(Common::String inputStr, int &choiceNumb,
choiceStr += ']';
col += 6;
}
- ++i;
- choiceListStr = _vm->copy(inputStr, i, 30);
+
+ choiceListStr = Common::String(inputStr.c_str() + i);
if (_vm->_resolutionScaler == 2)
col *= 6;
else