[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.63,2.64
Max Horn
fingolfin at users.sourceforge.net
Fri Dec 27 07:35:02 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv20568
Modified Files:
script_v8.cpp
Log Message:
o8_getStringWidth also pops on param
Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.63
retrieving revision 2.64
diff -u -d -r2.63 -r2.64
--- script_v8.cpp 27 Dec 2002 15:32:27 -0000 2.63
+++ script_v8.cpp 27 Dec 2002 15:34:26 -0000 2.64
@@ -1517,6 +1517,7 @@
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);
More information about the Scummvm-git-logs
mailing list