yaepg for vdr 1.3.25

Message ID 4299EF96.8090806@ventoso.org
State New
Headers

Commit Message

Luca Olivetti May 29, 2005, 4:36 p.m. UTC
  Patch attached.
Bye
  

Patch

--- yaepg.c.orig	2005-05-29 18:11:23.103424566 +0200
+++ yaepg.c	2005-05-29 18:25:03.412214269 +0200
@@ -658,12 +658,12 @@ 
 	time_t			startTime;
 
 public:
-	cNoInfoEvent(time_t, tChannelID);
+	cNoInfoEvent(time_t);
 	~cNoInfoEvent();
 };
 
-cNoInfoEvent::cNoInfoEvent(time_t startTime, tChannelID chanId)
-	: cEvent(chanId, 0)
+cNoInfoEvent::cNoInfoEvent(time_t startTime)
+	: cEvent(0)
 {
 	SetStartTime(startTime);
 	SetDuration(9000);
@@ -1479,7 +1479,7 @@ 
 				 * If we didn't find an event at this time try
 				 * make a "No Info" evnet.
 				 */
-				currEvent = new cNoInfoEvent(grTime, chans[i]->GetChanID());
+				currEvent = new cNoInfoEvent(grTime);
 				if (currEvent == NULL) {
 					fprintf(stderr, "NULL\n");
 				}