Fixed slow reaction on SVDRP input

This commit is contained in:
Klaus Schmidinger
2002-10-20 12:49:16 +02:00
parent 302abb7cd1
commit 029dd8aa1c
5 changed files with 11 additions and 6 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.56 2002/09/30 15:32:10 kls Exp $
* $Id: interface.c 1.57 2002/10/20 12:45:35 kls Exp $
*/
#include "interface.h"
@@ -58,7 +58,8 @@ eKeys cInterface::GetKey(bool Wait)
{
Flush();
if (SVDRP) {
SVDRP->Process();
if (SVDRP->Process())
Wait = false;
if (!open) {
char *message = SVDRP->GetMessage();
if (message) {