From 28a6a2db0c02e6b87b4b8a3a189a24f7c840f9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCnther?= Date: Sat, 16 May 2009 00:12:20 +0200 Subject: Revert "Make compatible with VDR >= 1.5.7." This reverts commit 5a745217debc3e82d153c7cb2325a15686a97eee. --- font.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'font.c') 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); -- cgit v1.2.3