aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/scriptables/SXString.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/scriptables/SXString.cpp')
-rw-r--r--engines/wintermute/Base/scriptables/SXString.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Base/scriptables/SXString.cpp b/engines/wintermute/Base/scriptables/SXString.cpp
index 1ddec89ee6..2ad8a36ff7 100644
--- a/engines/wintermute/Base/scriptables/SXString.cpp
+++ b/engines/wintermute/Base/scriptables/SXString.cpp
@@ -181,7 +181,7 @@ ERRORCODE CSXString::scCallMethod(CScScript *script, CScStack *stack, CScStack *
else
str = StringUtil::ansiToWide(_string);
- StringUtil::toUpperCase(str);
+ str.toUppercase();
if (Game->_textEncoding == TEXT_UTF8)
stack->pushString(StringUtil::wideToUtf8(str).c_str());
@@ -203,7 +203,7 @@ ERRORCODE CSXString::scCallMethod(CScScript *script, CScStack *stack, CScStack *
else
str = StringUtil::ansiToWide(_string);
- StringUtil::toLowerCase(str);
+ str.toLowercase();
if (Game->_textEncoding == TEXT_UTF8)
stack->pushString(StringUtil::wideToUtf8(str).c_str());