Re-inserted initial lastTime.Set() calls

This commit is contained in:
Klaus Schmidinger 2006-01-22 14:49:54 +01:00
parent 9443b6999e
commit 89af89af10
1 changed files with 3 additions and 1 deletions

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 1.401 2006/01/22 14:30:00 kls Exp $ * $Id: menu.c 1.402 2006/01/22 14:49:54 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -3016,6 +3016,7 @@ cDisplayChannel::cDisplayChannel(int Number, bool Switched)
DisplayInfo(); DisplayInfo();
displayChannel->Flush(); displayChannel->Flush();
} }
lastTime.Set();
} }
cDisplayChannel::cDisplayChannel(eKeys FirstKey) cDisplayChannel::cDisplayChannel(eKeys FirstKey)
@ -3026,6 +3027,7 @@ cDisplayChannel::cDisplayChannel(eKeys FirstKey)
number = 0; number = 0;
timeout = true; timeout = true;
lastPresent = lastFollowing = NULL; lastPresent = lastFollowing = NULL;
lastTime.Set();
withInfo = Setup.ShowInfoOnChSwitch; withInfo = Setup.ShowInfoOnChSwitch;
displayChannel = Skins.Current()->DisplayChannel(withInfo); displayChannel = Skins.Current()->DisplayChannel(withInfo);
channel = Channels.GetByNumber(cDevice::CurrentChannel()); channel = Channels.GetByNumber(cDevice::CurrentChannel());