aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/missiveomat.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-24 21:33:42 -0400
committerPaul Gilbert2016-08-24 21:33:42 -0400
commit25e977f81dacf4ad6465ba53bc7425532786109d (patch)
tree71d4705195a196eaf65fc67ed9392fe81e8764c9 /engines/titanic/game/missiveomat.cpp
parente81e3aefde040a9a8e133c3c1059ea66e9d91db5 (diff)
downloadscummvm-rg350-25e977f81dacf4ad6465ba53bc7425532786109d.tar.gz
scummvm-rg350-25e977f81dacf4ad6465ba53bc7425532786109d.tar.bz2
scummvm-rg350-25e977f81dacf4ad6465ba53bc7425532786109d.zip
TITANIC: Compilation fix for CMissiveOMat
Diffstat (limited to 'engines/titanic/game/missiveomat.cpp')
-rw-r--r--engines/titanic/game/missiveomat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/missiveomat.cpp b/engines/titanic/game/missiveomat.cpp
index b7eb3eda49..6f47131716 100644
--- a/engines/titanic/game/missiveomat.cpp
+++ b/engines/titanic/game/missiveomat.cpp
@@ -268,8 +268,8 @@ bool CMissiveOMat::MissiveOMatActionMsg(CMissiveOMatActionMsg *msg) {
if (welcome) {
CString str = CString::format(
"Missive %d of %d.\nFrom: %s\nTo: %s\n\n%s\n",
- _messageNum + 1, _totalMessages, _from[_messageNum],
- _to[_messageNum], _messages[_messageNum]);
+ _messageNum + 1, _totalMessages, _from[_messageNum].c_str(),
+ _to[_messageNum].c_str(), _messages[_messageNum].c_str());
setText(str);
}