aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.cpp
diff options
context:
space:
mode:
authorMax Horn2002-12-25 21:42:22 +0000
committerMax Horn2002-12-25 21:42:22 +0000
commit748ac8fe378e8abdde3d42fabda36c414e2d1362 (patch)
tree317266bde878f2c3eb2c66aeccc6ffa4f36d1096 /scumm/charset.cpp
parentd808e4da1f419ebcf8fb1a7554b09a867ae973ef (diff)
downloadscummvm-rg350-748ac8fe378e8abdde3d42fabda36c414e2d1362.tar.gz
scummvm-rg350-748ac8fe378e8abdde3d42fabda36c414e2d1362.tar.bz2
scummvm-rg350-748ac8fe378e8abdde3d42fabda36c414e2d1362.zip
more cleanup
svn-id: r6149
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r--scumm/charset.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index 23bbd1847a..4701d2d234 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -67,8 +67,9 @@ int CharsetRenderer::getSpacing(byte chr, byte *charset)
return spacing;
}
-int CharsetRenderer::getStringWidth(int arg, byte *text, int pos)
+int CharsetRenderer::getStringWidth(int arg, byte *text)
{
+ int pos = 0;
byte *ptr;
int width;
byte chr;