aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/util.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-07-05 19:57:55 +0000
committerSven Hesse2009-07-05 19:57:55 +0000
commitd6c99ae861aa857b24023ecc66bd1507fa895ecd (patch)
treef089938e95d2d5ee798e377cc53802d679543e97 /engines/gob/util.cpp
parent62fcf1177d7782fd30ec908676e3cd287d0ae507 (diff)
downloadscummvm-rg350-d6c99ae861aa857b24023ecc66bd1507fa895ecd.tar.gz
scummvm-rg350-d6c99ae861aa857b24023ecc66bd1507fa895ecd.tar.bz2
scummvm-rg350-d6c99ae861aa857b24023ecc66bd1507fa895ecd.zip
Renaming FontDesc::extraData to charWidths
svn-id: r42149
Diffstat (limited to 'engines/gob/util.cpp')
-rw-r--r--engines/gob/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp
index bb206eb52d..429b0269cf 100644
--- a/engines/gob/util.cpp
+++ b/engines/gob/util.cpp
@@ -403,10 +403,10 @@ Video::FontDesc *Util::loadFont(const char *path) {
fontDesc->bitWidth = fontDesc->itemWidth;
if (data[0] & 0x80)
- fontDesc->extraData = data + 4 + fontDesc->itemSize *
+ fontDesc->charWidths = data + 4 + fontDesc->itemSize *
(fontDesc->endItem - fontDesc->startItem + 1);
else
- fontDesc->extraData = 0;
+ fontDesc->charWidths = 0;
return fontDesc;
}