diff options
Diffstat (limited to 'engines/titanic/true_talk/tt_vocab.cpp')
-rw-r--r-- | engines/titanic/true_talk/tt_vocab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/tt_vocab.cpp b/engines/titanic/true_talk/tt_vocab.cpp index 2e5a7cc794..66497a5ada 100644 --- a/engines/titanic/true_talk/tt_vocab.cpp +++ b/engines/titanic/true_talk/tt_vocab.cpp @@ -476,7 +476,7 @@ TTword *TTvocab::getSuffixedWord(TTstring &str) const { }
if (word)
- word->setSynStr(&str);
+ word->setSynStr(str);
return word;
}
@@ -538,7 +538,7 @@ TTword *TTvocab::getPrefixedWord(TTstring &str) const { if (word) {
// Set the original word on either the found word or synonym
if (word->hasSynonyms())
- word->setSynStr(&str);
+ word->setSynStr(str);
else
word->_string = str;
}
|