diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-05 18:28:14 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-02-05 18:28:14 +0100 |
commit | 5abb02b301b893eca757882c178a385b85dae1f1 (patch) | |
tree | a7e9b536169ccb39b29372d6f2d3790e782fcc61 /tools.c | |
parent | e11c7e4b1cdcde1f1bd7013c5ea055e2656d6fcb (diff) | |
download | vdr-5abb02b301b893eca757882c178a385b85dae1f1.tar.gz vdr-5abb02b301b893eca757882c178a385b85dae1f1.tar.bz2 |
Fixed a bug in moving timers or channels to the last position in the list
Diffstat (limited to 'tools.c')
-rw-r--r-- | tools.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; } |