summaryrefslogtreecommitdiff
path: root/font.c
diff options
context:
space:
mode:
authorThomas Günther <tom@toms-cafe.de>2009-05-16 00:12:20 +0200
committerThomas Günther <tom@toms-cafe.de>2009-05-16 00:12:20 +0200
commit28a6a2db0c02e6b87b4b8a3a189a24f7c840f9c6 (patch)
treea686b75a092365e449a9db53161d6462a1985d60 /font.c
parenta056f044df6abf32ce5fb663cf5ad302acbe46b8 (diff)
downloadvdr-plugin-text2skin-28a6a2db0c02e6b87b4b8a3a189a24f7c840f9c6.tar.gz
vdr-plugin-text2skin-28a6a2db0c02e6b87b4b8a3a189a24f7c840f9c6.tar.bz2
Revert "Make compatible with VDR >= 1.5.7."
This reverts commit 5a745217debc3e82d153c7cb2325a15686a97eee.
Diffstat (limited to 'font.c')
-rw-r--r--font.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/font.c b/font.c
index 706ab23..7042da9 100644
--- a/font.c
+++ b/font.c
@@ -31,13 +31,8 @@ const cFont *cText2SkinFont::Load(const std::string &Path, const std::string &Fi
const cFont *res = NULL;
#ifdef HAVE_FREETYPE
char *cachename;
-#if VDRVERSNUM >= 10507
- asprintf(&cachename, "%s_%d_%d_%d", Filename.c_str(), Size, Width, I18nCurrentLanguage());
- if (mFontCache.Load(Path + "/" + Filename, cachename, Size, I18nCurrentLanguage(), Width))
-#else
asprintf(&cachename, "%s_%d_%d_%d", Filename.c_str(), Size, Width, Setup.OSDLanguage);
if (mFontCache.Load(Path + "/" + Filename, cachename, Size, Setup.OSDLanguage, Width))
-#endif
res = mFontCache.GetFont(cachename);
else
esyslog("ERROR: Text2Skin: Couldn't load font %s:%d", Filename.c_str(), Size);