summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-09-06 09:32:00 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-09-06 09:32:00 +0200
commit3284e941c6ab7f59c4fbfa78d4976d756aec0731 (patch)
tree6cf7a631881e24fb4cb0e7ad7b6dca03505d7cc1 /menu.c
parentaa40223ff2c0dc159cef937af99b33c3d2ee222a (diff)
downloadvdr-3284e941c6ab7f59c4fbfa78d4976d756aec0731.tar.gz
vdr-3284e941c6ab7f59c4fbfa78d4976d756aec0731.tar.bz2
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
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
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));
}