mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Fixed a crash when pressing '0' in the "Schedule" menu on a channel that doesn't have any EPG data
This commit is contained in:
		@@ -1684,3 +1684,7 @@ Markus Hahn <mhahn@reel-multimedia.com>
 | 
			
		||||
 | 
			
		||||
Jaroslaw Swierczynski <swiergot@gmail.com>
 | 
			
		||||
 for updating the Polish OSD texts and the fontosd-iso8859-2.c file
 | 
			
		||||
 | 
			
		||||
Alexander Hans <cleditor@arcor.de>
 | 
			
		||||
 fpr reporting a crash when pressing '0' in the "Schedule" menu on a channel that
 | 
			
		||||
 doesn't have any EPG data 
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							@@ -4234,3 +4234,5 @@ Video Disk Recorder Revision History
 | 
			
		||||
  "No Title" if none was set.
 | 
			
		||||
- Fixed checking toFile in cCuttingThread::Action() (found in a larger patch from
 | 
			
		||||
  Artur Skawina).
 | 
			
		||||
- Fixed a crash when pressing '0' in the "Schedule" menu on a channel that doesn't
 | 
			
		||||
  have any EPG data (reported ny Alexander Hans).
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								menu.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								menu.c
									
									
									
									
									
								
							@@ -4,7 +4,7 @@
 | 
			
		||||
 * See the main source file 'vdr.c' for copyright information and
 | 
			
		||||
 * how to reach the author.
 | 
			
		||||
 *
 | 
			
		||||
 * $Id: menu.c 1.403 2006/01/22 16:06:39 kls Exp $
 | 
			
		||||
 * $Id: menu.c 1.404 2006/01/27 14:04:34 kls Exp $
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#include "menu.h"
 | 
			
		||||
@@ -1352,6 +1352,8 @@ eOSState cMenuSchedule::Number(void)
 | 
			
		||||
     Event = CurrentItem->event;
 | 
			
		||||
     Channel = Channels.GetByChannelID(Event->ChannelID(), true);
 | 
			
		||||
     }
 | 
			
		||||
  else
 | 
			
		||||
     Channel = Channels.GetByNumber(cDevice::CurrentChannel());
 | 
			
		||||
  switch (cMenuScheduleItem::SortMode()) {
 | 
			
		||||
    case cMenuScheduleItem::ssmAllThis:  PrepareScheduleAllThis(Event, Channel); break;
 | 
			
		||||
    case cMenuScheduleItem::ssmThisThis: PrepareScheduleThisThis(Event, Channel); break;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user