summaryrefslogtreecommitdiff
path: root/src/gfx.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-06-23 15:24:36 +0000
committerrubidium <rubidium@openttd.org>2013-06-23 15:24:36 +0000
commite1a2a8275b4e4109912ae68b72b757cd92714daa (patch)
treecabc0b05c03ca32bfca957d5a2c17abd1645d06e /src/gfx.cpp
parent94a5fe6b927da6e898968d240a3486dbe60d6be8 (diff)
downloadopenttd-e1a2a8275b4e4109912ae68b72b757cd92714daa.tar.xz
(svn r25438) -Codechange: introduce classes for the FontCache
Diffstat (limited to 'src/gfx.cpp')
-rw-r--r--src/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.cpp b/src/gfx.cpp
index 7cfe08241..49c9ba12d 100644
--- a/src/gfx.cpp
+++ b/src/gfx.cpp
@@ -1179,7 +1179,7 @@ void DrawCharCentered(WChar c, int x, int y, TextColour colour)
static int ReallyDoDrawString(const WChar *string, int x, int y, DrawStringParams &params, bool parse_string_also_when_clipped)
{
DrawPixelInfo *dpi = _cur_dpi;
- bool draw_shadow = GetDrawGlyphShadow();
+ bool draw_shadow = GetDrawGlyphShadow(FS_NORMAL);
WChar c;
int xo = x;