From 3284e941c6ab7f59c4fbfa78d4976d756aec0731 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 6 Sep 2015 09:32:00 +0200 Subject: The Timers menu now displays the name of the remote VDR in front of the timer's file name, if this is a remote timer --- menu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 9a35bb70..999144ec 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 4.3 2015/08/31 13:36:05 kls Exp $ + * $Id: menu.c 4.4 2015/09/06 09:28:24 kls Exp $ */ #include "menu.h" @@ -1152,7 +1152,7 @@ void cMenuTimerItem::Set(void) File++; else File = timer->File(); - SetText(cString::sprintf("%c\t%d\t%s%s%s\t%02d:%02d\t%02d:%02d\t%s", + SetText(cString::sprintf("%c\t%d\t%s%s%s\t%02d:%02d\t%02d:%02d\t%s%s", !(timer->HasFlags(tfActive)) ? ' ' : timer->FirstDay() ? '!' : timer->Recording() ? '#' : '>', timer->Channel()->Number(), *name, @@ -1162,6 +1162,7 @@ void cMenuTimerItem::Set(void) timer->Start() % 100, timer->Stop() / 100, timer->Stop() % 100, + timer->Remote() ? *cString::sprintf("@%s: ", timer->Remote()) : "", File)); } -- cgit v1.2.3