mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
				synced 2023-10-19 15:58:31 +00:00 
			
		
		
		
	fixed crash for timers without channel
This commit is contained in:
		@@ -180,7 +180,7 @@ bool cVeDcEpgInfo::EventHasTimer(const cEvent *e) {
 | 
				
			|||||||
    bool hasTimer = e->HasTimer();
 | 
					    bool hasTimer = e->HasTimer();
 | 
				
			||||||
    for (int i = 0; i < globalTimers->Size() && !hasTimer; i++) 
 | 
					    for (int i = 0; i < globalTimers->Size() && !hasTimer; i++) 
 | 
				
			||||||
        if (const cTimer *Timer = globalTimers->At(i)) 
 | 
					        if (const cTimer *Timer = globalTimers->At(i)) 
 | 
				
			||||||
            if (Timer->Channel()->GetChannelID() == e->ChannelID()) 
 | 
					            if (Timer->Channel() && (Timer->Channel()->GetChannelID() == e->ChannelID())) 
 | 
				
			||||||
                if (const cEvent *timerEvent = Timer->Event())
 | 
					                if (const cEvent *timerEvent = Timer->Event())
 | 
				
			||||||
                    if (e->EventID() == timerEvent->EventID())
 | 
					                    if (e->EventID() == timerEvent->EventID())
 | 
				
			||||||
                        hasTimer = true;
 | 
					                        hasTimer = true;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user