summaryrefslogtreecommitdiff
path: root/plugins/graphlcd/patches/graphlcd-0.1.5_vdr-1.5.3.diff
blob: fac88fb5e6153e178bc8ef6f629bc87218c53242 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
fix compile Probs up from vdr-1.5.3

Joerg Bornkessel <hd_brummy@gentoo.org> 2007 06 26

diff -Naur graphlcd-0.1.5.orig/layout.c graphlcd-0.1.5/layout.c
--- graphlcd-0.1.5.orig/layout.c	2007-06-26 21:43:52.000000000 +0200
+++ graphlcd-0.1.5/layout.c	2007-06-26 21:46:05.000000000 +0200
@@ -65,7 +65,11 @@
             file += "/fonts/";
             file += url.substr(4, pos - 4);
         }
+#if APIVERSNUM >= 10503
+		return font.LoadFT2(file, cCharSetConv::SystemCharacterTable(), size);
+#else
         return font.LoadFT2(file, I18nCharSets()[Setup.OSDLanguage], size);
+#endif
     }
     else
     {