Mailing List archive

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

[vdr] Bugfix in VDR's timer/channel move function



There has been a long time bug in VDR's timer/channel move function,
which caused an error when moving a timer or channel to the very end
of the list. In that case it was possible that the last list entry
disappeared. Note that if you are not using the "Blue" key to mark
a list entry and move it to another position, you don't need to worry
about this.

Here's a fix for VDR 0.99pre5:

--- tools.c     2002/02/03 16:44:08     1.56
+++ tools.c     2002/02/05 18:16:52     1.57
@@ -804,8 +804,10 @@
            To->Prev()->Append(From);
         From->Append(To);
         }
-     else
+     else {
         lastObject->Append(From);
+        lastObject = From;
+        }
      if (!From->Prev())
         objects = From;
      }

Thanks to Matthias Schniedermeyer for digging this one up.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index