summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--remote.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 5f00ea1e..f55daa01 100644
--- a/HISTORY
+++ b/HISTORY
@@ -274,3 +274,4 @@ Video Disk Recorder Revision History
- The 'SetSystemTime' option in the "Setup" menu is now shown as "yes/no".
- Implemented "internationalization" (see 'i18n.c' for information on how to
add new languages).
+- Fixed learning keys on the PC keyboard (display oscillated).
diff --git a/remote.c b/remote.c
index f60d7685..349a4452 100644
--- a/remote.c
+++ b/remote.c
@@ -6,7 +6,7 @@
*
* Ported to LIRC by Carsten Koch <Carsten.Koch@icem.de> 2000-06-16.
*
- * $Id: remote.c 1.18 2000/10/08 16:49:41 kls Exp $
+ * $Id: remote.c 1.19 2000/11/11 11:22:22 kls Exp $
*/
#include "remote.h"
@@ -73,7 +73,7 @@ bool cRcIoKBD::GetCommand(unsigned int *Command, bool *Repeat, bool *Release)
{
if (Command) {
*Command = getch();
- return *Command > 0;
+ return int(*Command) > 0;
}
return false;
}