aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/UI/UIButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/UI/UIButton.cpp')
-rw-r--r--engines/wintermute/UI/UIButton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/UI/UIButton.cpp b/engines/wintermute/UI/UIButton.cpp
index d10d4c7c89..4c16d708de 100644
--- a/engines/wintermute/UI/UIButton.cpp
+++ b/engines/wintermute/UI/UIButton.cpp
@@ -353,7 +353,7 @@ HRESULT CUIButton::loadBuffer(byte *buffer, bool complete) {
case TOKEN_TEXT:
setText((char *)params);
- Game->_stringTable->Expand(&_text);
+ Game->_stringTable->expand(&_text);
break;
case TOKEN_TEXT_ALIGN: