[vdr] VDR 1.7.37: missing braces in lirc.c
Klaus Schmidinger
Klaus.Schmidinger at tvdr.de
Mon Feb 11 16:30:22 CET 2013
I just found out that there are some curly braces missing in lirc.c:
--- lirc.c 2013/02/03 11:23:18 2.4
+++ lirc.c 2013/02/11 15:25:42
@@ -114,9 +114,10 @@
repeat = true;
timeout = Delta * 10 / 9;
}
- if (pressed)
+ if (pressed) {
LastTime.Set();
Put(KeyName, repeat);
+ }
}
else if (pressed && repeat) { // the last one was a repeat, so let's generate a release
Put(LastKeyName, false, true);
This caused an additional k_Repeat after a k_Release.
Klaus
More information about the vdr
mailing list