aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ui/ui_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/ui/ui_text.cpp')
-rw-r--r--engines/wintermute/ui/ui_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ui/ui_text.cpp b/engines/wintermute/ui/ui_text.cpp
index 3b5adf07b7..98d70b770e 100644
--- a/engines/wintermute/ui/ui_text.cpp
+++ b/engines/wintermute/ui/ui_text.cpp
@@ -230,7 +230,7 @@ bool UIText::loadBuffer(byte *buffer, bool complete) {
case TOKEN_TEXT:
setText((char *)params);
- _gameRef->_stringTable->expand(&_text);
+ _gameRef->expandStringByStringTable(&_text);
break;
case TOKEN_TEXT_ALIGN: