From 4aee497101eb0546b34edfd3ccf34fe5ba140f3d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 1 Sep 2001 15:23:27 +0200 Subject: New setup parameter OSDMessageTime --- interface.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'interface.c') 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; -- cgit v1.2.3