aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2002-12-27 15:34:26 +0000
committerMax Horn2002-12-27 15:34:26 +0000
commita236ff9689860e0c4e764482230d9ad7a2364dff (patch)
tree0a8703c8f9e09c5968abff4957b2994ea991e674 /scumm
parentfc04f734717c3ee1168f8831471038b40848e6d7 (diff)
downloadscummvm-rg350-a236ff9689860e0c4e764482230d9ad7a2364dff.tar.gz
scummvm-rg350-a236ff9689860e0c4e764482230d9ad7a2364dff.tar.bz2
scummvm-rg350-a236ff9689860e0c4e764482230d9ad7a2364dff.zip
o8_getStringWidth also pops on param
svn-id: r6201
Diffstat (limited to 'scumm')
-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);