summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-03-18 09:19:42 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-03-18 09:19:42 +0100
commitb7f4536fe144da31cf1843dad5fa01c630c23bf5 (patch)
tree4164cd886b5938e35427291b9c1d52b740e67985 /menu.c
parentb6d407a212bf470f1a8518b6c184ff00b26202ee (diff)
downloadvdr-b7f4536fe144da31cf1843dad5fa01c630c23bf5.tar.gz
vdr-b7f4536fe144da31cf1843dad5fa01c630c23bf5.tar.bz2
The "Resume" button in the main menu is now only active if the respective recording actually exists
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 77326972..31d25d08 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.81 2013/03/04 14:11:47 kls Exp $
+ * $Id: menu.c 2.82 2013/03/18 09:11:48 kls Exp $
*/
#include "menu.h"
@@ -4566,6 +4566,8 @@ const char *cReplayControl::NowReplaying(void)
const char *cReplayControl::LastReplayed(void)
{
+ if (!Recordings.GetByName(fileName))
+ fileName = NULL;
return fileName;
}