summaryrefslogtreecommitdiff
path: root/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'font.c')
-rw-r--r--font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/font.c b/font.c
index 902db0b..1401b86 100644
--- a/font.c
+++ b/font.c
@@ -52,7 +52,7 @@ bool cGraphtftFont::Load(string Filename, string CacheName, int Size, int Langua
#if VDRVERSNUM >= 10504
//TODO: "Width" not yet in VDR
-# ifdef VDRVERSNUM >= 10505
+# if VDRVERSNUM >= 10505
cFont *newFont = cFont::CreateFont(Filename.c_str(), Size, Width > 0 ? (Size * Width / 100) : 0);
# else
cFont *newFont = cFont::CreateFont(Filename.c_str(), Size);