aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r--scumm/script_v8.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index 910a72201d..695e94700d 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1483,11 +1483,8 @@ void ScummEngine_v8::o8_getStringWidth() {
// Skip to the next instruction
_scriptPointer += resStrLen(_scriptPointer) + 1;
- if (msg[0] == '/') {
- translateText(msg, transBuf);
- msg = transBuf;
- }
-
+ translateText(msg, transBuf);
+ msg = transBuf;
// Temporary set the specified charset id
_charset->setCurID(_string[charset].charset);