summaryrefslogtreecommitdiff
path: root/src/company_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-23 15:32:09 +0000
committerrubidium <rubidium@openttd.org>2013-06-23 15:32:09 +0000
commitd724088a1c346ee2e01e5cdec9c9ca4a92e8c12b (patch)
treee83851727b23e3064be5c56a6202bf28b9016212 /src/company_gui.cpp
parenteb4388f4f3c9c120cd5d25f2da98859aaed151ec (diff)
downloadopenttd-d724088a1c346ee2e01e5cdec9c9ca4a92e8c12b.tar.xz
(svn r25442) -Codechange: move height and ascender information into the FontCache instances
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r--src/company_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp
index b763aa363..1c75fc30a 100644
--- a/src/company_gui.cpp
+++ b/src/company_gui.cpp
@@ -526,7 +526,7 @@ public:
uint Height(uint width) const
{
- return max(FONT_HEIGHT_NORMAL, (byte)14);
+ return max(FONT_HEIGHT_NORMAL, 14);
}
bool Selectable() const