diff options
author | Thomas Günther <tom@toms-cafe.de> | 2009-06-21 03:04:34 +0200 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2009-06-21 03:04:34 +0200 |
commit | ea25399458d35ca25e3477200baa1b393a577b37 (patch) | |
tree | 93d9b12177384e6aff92adb36342f02291444473 /font.c | |
parent | c51a331d720c7e2fb5252c6cf4c1ddd4b4b8a8a1 (diff) | |
download | vdr-plugin-text2skin-ea25399458d35ca25e3477200baa1b393a577b37.tar.gz vdr-plugin-text2skin-ea25399458d35ca25e3477200baa1b393a577b37.tar.bz2 |
Removed backward compatibility to VDR < 1.6.0 (closes #137)
Diffstat (limited to 'font.c')
-rw-r--r-- | font.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); |