From a236ff9689860e0c4e764482230d9ad7a2364dff Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 27 Dec 2002 15:34:26 +0000 Subject: o8_getStringWidth also pops on param svn-id: r6201 --- scumm/script_v8.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scumm') 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); -- cgit v1.2.3