mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed a bug in moving timers or channels to the last position in the list
This commit is contained in:
		@@ -47,6 +47,7 @@ Matthias Schniedermeyer <ms@citd.de>
 | 
			
		||||
 for implementing the 'MarkInstantRecord' setup option
 | 
			
		||||
 for his "schnitt" tools
 | 
			
		||||
 for his "master-timer" tool
 | 
			
		||||
 for helping to debug the "move to last position in list" bug
 | 
			
		||||
 | 
			
		||||
Miha Setina <mihasetina@softhome.net>
 | 
			
		||||
 for translating the OSD texts to the Slovenian language
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								HISTORY
									
									
									
									
									
								
							@@ -969,3 +969,8 @@ Video Disk Recorder Revision History
 | 
			
		||||
  radio recordings. Thanks to Michael Paar.
 | 
			
		||||
- Fixed a problem with the ERR macro defined by ncurses.h (thanks to Artur
 | 
			
		||||
  Skawina).
 | 
			
		||||
 | 
			
		||||
2002-02-05: Version 0.99pre6
 | 
			
		||||
 | 
			
		||||
- Fixed a bug in moving timers or channels to the last position in the list
 | 
			
		||||
  (thanks to Matthias Schniedermeyer for helping to debug this one).
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										6
									
								
								tools.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								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;
 | 
			
		||||
     }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user