aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/util.cpp
diff options
context:
space:
mode:
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;
}