summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools.c')
-rw-r--r--tools.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools.c b/tools.c
index 441c5ce..e95bdf8 100644
--- a/tools.c
+++ b/tools.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.c 1.56 2002/02/03 16:44:08 kls Exp $
+ * $Id: tools.c 1.57 2002/02/05 18:16:52 kls Exp $
*/
#include "tools.h"
@@ -804,8 +804,10 @@ void cListBase::Move(cListObject *From, cListObject *To)
To->Prev()->Append(From);
From->Append(To);
}
- else
+ else {
lastObject->Append(From);
+ lastObject = From;
+ }
if (!From->Prev())
objects = From;
}