From ea25399458d35ca25e3477200baa1b393a577b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Sun, 21 Jun 2009 03:04:34 +0200 Subject: Removed backward compatibility to VDR < 1.6.0 (closes #137) --- font.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'font.c') diff --git a/font.c b/font.c index 706ab23..78c5cc7 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); -- cgit v1.2.3