diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2010-03-07 14:15:04 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2010-03-07 14:15:04 +0100 |
commit | 42928ff2d3f2b25e124bd30b8b4cc8f2892c0f15 (patch) | |
tree | 3346a196424f8af4ddad8e2a77c5d6dda216edaa /menu.c | |
parent | c07dd4c35b7e9eb71a94bfecac1e36fa26e05827 (diff) | |
download | vdr-42928ff2d3f2b25e124bd30b8b4cc8f2892c0f15.tar.gz vdr-42928ff2d3f2b25e124bd30b8b4cc8f2892c0f15.tar.bz2 |
The full timer file name is now displayed if it ends with "TITLE" or "EPISODE"
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 2.19 2010/03/07 12:32:28 kls Exp $ + * $Id: menu.c 2.20 2010/03/07 14:08:15 kls Exp $ */ #include "menu.h" @@ -1053,7 +1053,7 @@ void cMenuTimerItem::Set(void) day = buffer; } const char *File = strrchr(timer->File(), FOLDERDELIMCHAR); - if (File) + if (File && strcmp(File + 1, TIMERMACRO_TITLE) && strcmp(File + 1, TIMERMACRO_EPISODE)) File++; else File = timer->File(); |