aboutsummaryrefslogtreecommitdiff
path: root/graphics/fonts/macfont.h
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-17 10:33:55 +0100
committerEugene Sandulenko2017-01-17 10:56:33 +0100
commit4236d93aae16bd5e5cf63256fd7617961da49204 (patch)
treeca6188a14b763fa4d279bdeefeed72f0fa629f45 /graphics/fonts/macfont.h
parentfd82fa5308a53f47bc5c7209fb756074ac579dc2 (diff)
downloadscummvm-rg350-4236d93aae16bd5e5cf63256fd7617961da49204.tar.gz
scummvm-rg350-4236d93aae16bd5e5cf63256fd7617961da49204.tar.bz2
scummvm-rg350-4236d93aae16bd5e5cf63256fd7617961da49204.zip
GRAPHICS: Fix FOND loading
Diffstat (limited to 'graphics/fonts/macfont.h')
-rw-r--r--graphics/fonts/macfont.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/fonts/macfont.h b/graphics/fonts/macfont.h
index 40a54f2087..c357346c29 100644
--- a/graphics/fonts/macfont.h
+++ b/graphics/fonts/macfont.h
@@ -65,10 +65,10 @@ private:
uint16 _ffFamID;
uint16 _ffFirstChar;
uint16 _ffLastChar;
- uint16 _ffAscent;
- uint16 _ffDescent;
- uint16 _ffLeading;
- uint16 _ffWidMax;
+ int16 _ffAscent;
+ int16 _ffDescent;
+ int16 _ffLeading;
+ int16 _ffWidMax;
uint32 _ffWTabOff;
uint32 _ffKernOff;
uint32 _ffStylOff;
@@ -90,10 +90,10 @@ private:
struct BBoxEntry {
uint16 _style;
- uint16 _left;
- uint16 _bottom;
- uint16 _right;
- uint16 _top;
+ int16 _left;
+ int16 _bottom;
+ int16 _right;
+ int16 _top;
};
uint16 _ffNumBBoxes;