summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-03-07 14:15:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2010-03-07 14:15:04 +0100
commit42928ff2d3f2b25e124bd30b8b4cc8f2892c0f15 (patch)
tree3346a196424f8af4ddad8e2a77c5d6dda216edaa /menu.c
parentc07dd4c35b7e9eb71a94bfecac1e36fa26e05827 (diff)
downloadvdr-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 63b763cd..2d983aea 100644
--- a/menu.c
+++ b/menu.c
@@ -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();