summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-11-02 15:36:24 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2017-11-02 15:36:24 +0100
commite02a0a8c888923dd145ffff70f639c6c9601cef3 (patch)
treeb9e99938d95275ac28a7ec5aeac11bcaf542d754 /menu.c
parentd8523b0db8adf0559040834487e5371c525132cb (diff)
downloadvdr-e02a0a8c888923dd145ffff70f639c6c9601cef3.tar.gz
vdr-e02a0a8c888923dd145ffff70f639c6c9601cef3.tar.bz2
The timeout for the channel display is now reset whenever the channel or EPG data changes
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 105a7164..a12276df 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.42 2017/10/31 09:42:07 kls Exp $
+ * $Id: menu.c 4.43 2017/11/02 15:26:42 kls Exp $
*/
#include "menu.h"
@@ -4563,6 +4563,7 @@ void cDisplayChannel::DisplayChannel(void)
displayChannel->SetChannel(channel, number);
cStatus::MsgOsdChannel(ChannelString(channel, number));
lastPresent = lastFollowing = NULL;
+ lastTime.Set();
}
void cDisplayChannel::DisplayInfo(void)
@@ -4578,6 +4579,7 @@ void cDisplayChannel::DisplayInfo(void)
cStatus::MsgOsdProgramme(Present ? Present->StartTime() : 0, Present ? Present->Title() : NULL, Present ? Present->ShortText() : NULL, Following ? Following->StartTime() : 0, Following ? Following->Title() : NULL, Following ? Following->ShortText() : NULL);
lastPresent = Present;
lastFollowing = Following;
+ lastTime.Set();
}
}
}