diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-03-18 09:19:42 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-03-18 09:19:42 +0100 |
commit | b7f4536fe144da31cf1843dad5fa01c630c23bf5 (patch) | |
tree | 4164cd886b5938e35427291b9c1d52b740e67985 /menu.c | |
parent | b6d407a212bf470f1a8518b6c184ff00b26202ee (diff) | |
download | vdr-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.c | 4 |
1 files changed, 3 insertions, 1 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.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; } |