summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-01 15:23:27 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-01 15:23:27 +0200
commit4aee497101eb0546b34edfd3ccf34fe5ba140f3d (patch)
treeaac7fb289bdc7cee1f9251b8f17153da25100a0c /interface.c
parent5a5fc72814c0a687d38b64c387f9bda642f8c4aa (diff)
downloadvdr-4aee497101eb0546b34edfd3ccf34fe5ba140f3d.tar.gz
vdr-4aee497101eb0546b34edfd3ccf34fe5ba140f3d.tar.bz2
New setup parameter OSDMessageTime
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/interface.c b/interface.c
index a6c9451e..8695a367 100644
--- a/interface.c
+++ b/interface.c
@@ -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;