summaryrefslogtreecommitdiff
path: root/interface.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-01 10:53:07 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-01 10:53:07 +0100
commitc1a5a7d50c4a45b3d3d65717c788e1925463a61e (patch)
tree9ba01bdc6f892e17da20ce08932a2b0fd74c7814 /interface.c
parentfd3e819ba808e98d68737cf45583d70fa0588e51 (diff)
downloadvdr-c1a5a7d50c4a45b3d3d65717c788e1925463a61e.tar.gz
vdr-c1a5a7d50c4a45b3d3d65717c788e1925463a61e.tar.bz2
Only accepting key presses from the current remote control when learning
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface.c b/interface.c
index a9f0d9a9..804747ae 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.59 2002/10/27 15:54:05 kls Exp $
+ * $Id: interface.c 1.60 2002/11/01 10:50:38 kls Exp $
*/
#include "interface.h"
@@ -418,9 +418,9 @@ void cInterface::LearnKeys(void)
Clear();
cRemote::Clear();
WriteText(1, 1, Headline);
- cRemote::SetLearning(true);
+ cRemote::SetLearning(Remote);
QueryKeys(Remote);
- cRemote::SetLearning(false);
+ cRemote::SetLearning(NULL);
Clear();
WriteText(1, 1, Headline);
WriteText(1, 3, tr("Phase 3: Saving key codes"));