aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v8.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp
index ae368da81b..74c3574324 100644
--- a/scumm/script_v8.cpp
+++ b/scumm/script_v8.cpp
@@ -1517,6 +1517,7 @@ void Scumm_v8::o8_getObjectImageHeight()
void Scumm_v8::o8_getStringWidth()
{
+ int a = pop(); // What is this? The first param for getStringWidth()? Or a charset id?
int len = resStrLen((char*)_scriptPointer);
int width = _charset->getStringWidth(0, _scriptPointer);
push(width);