diff options
author | peter1138 <peter1138@openttd.org> | 2014-10-12 20:43:25 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2014-10-12 20:43:25 +0000 |
commit | 1088ad48fceb19408f41f4f3caf0f9e525d977d9 (patch) | |
tree | 8cfd5f56b89acc4ab3a5c9be761b1015f121d79d /src/fontcache.h | |
parent | 771dcf3b7b15f58e1d6fb2795e7df3c00ebf2809 (diff) | |
download | openttd-1088ad48fceb19408f41f4f3caf0f9e525d977d9.tar.xz |
(svn r27004) -Codechange: Make GUI size apply to (sprite-font) text as well.
Diffstat (limited to 'src/fontcache.h')
-rw-r--r-- | src/fontcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.h b/src/fontcache.h index 804ad2c4b..8caf4f1bd 100644 --- a/src/fontcache.h +++ b/src/fontcache.h @@ -44,7 +44,7 @@ public: * Get the height of the font. * @return The height of the font. */ - inline int GetHeight() const { return this->height; } + virtual int GetHeight() const { return this->height; } /** * Get the ascender value of the font. |