diff options
Diffstat (limited to 'graphics/fonts/winfont.h')
-rw-r--r-- | graphics/fonts/winfont.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/fonts/winfont.h b/graphics/fonts/winfont.h index 0600527643..b23455e2d5 100644 --- a/graphics/fonts/winfont.h +++ b/graphics/fonts/winfont.h @@ -63,7 +63,7 @@ public: void close(); // Font API - int getFontHeight() const { return _ascent; } + int getFontHeight() const { return _pixHeight; } int getMaxCharWidth() const { return _maxWidth; } int getCharWidth(byte chr) const; void drawChar(Surface *dst, byte chr, int x, int y, uint32 color) const; @@ -74,7 +74,6 @@ private: uint16 characterToIndex(byte character) const; uint16 _pixHeight; - uint16 _ascent; uint16 _maxWidth; byte _firstChar; byte _lastChar; |