New setup parameter OSDMessageTime

This commit is contained in:
Klaus Schmidinger
2001-09-01 15:23:27 +02:00
parent 5a5fc72814
commit 4aee497101
8 changed files with 29 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: interface.c 1.43 2001/09/01 10:33:03 kls Exp $
* $Id: interface.c 1.44 2001/09/01 15:18:46 kls Exp $
*/
#include "interface.h"
@@ -106,6 +106,8 @@ void cInterface::PutKey(eKeys Key)
eKeys cInterface::Wait(int Seconds, bool KeepChar)
{
if (Seconds == 0)
Seconds = Setup.OSDMessageTime;
Flush();
eKeys Key = kNone;
time_t timeout = time(NULL) + Seconds;