VDR 1.7.37: missing braces in lirc.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux