summaryrefslogtreecommitdiff
path: root/templatefile.c
diff options
context:
space:
mode:
authorChristian Wieninger <cwieninger (at) gmx (dot) de>2009-03-09 18:42:04 +0100
committerChristian Wieninger <cwieninger (at) gmx (dot) de>2009-03-09 18:42:04 +0100
commitfd47a9dce6ae3e04776b8d76d68e4c43a9a08320 (patch)
tree95f936797a97f72e2ae3b13b0652ec5ab2fd8a88 /templatefile.c
parent401552d18be019e2c440a9d220ac3e665011ad08 (diff)
downloadvdr-plugin-epgsearch-fd47a9dce6ae3e04776b8d76d68e4c43a9a08320.tar.gz
vdr-plugin-epgsearch-fd47a9dce6ae3e04776b8d76d68e4c43a9a08320.tar.bz2
auto enable Wareagle icons if VDRSymbols font is used
Diffstat (limited to 'templatefile.c')
-rw-r--r--templatefile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/templatefile.c b/templatefile.c
index 3272182..5b01534 100644
--- a/templatefile.c
+++ b/templatefile.c
@@ -145,6 +145,10 @@ cMenuTemplate* cTemplFile::GetTemplateByName(const char* Name)
bool cTemplFile::Load(const char *FileName)
{
+ // auto-enable WarEagle-Icons if VDRSymbols font is used
+ if (strstr(Setup.FontOsd, "VDRSymbols") == Setup.FontOsd)
+ EPGSearchConfig.WarEagle = 1;
+
if (cConfig<cTemplLine>::Load(FileName, true))
{
bool result = true;