summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eit.c b/eit.c
index d62c902..44c873b 100644
--- a/eit.c
+++ b/eit.c
@@ -13,7 +13,7 @@
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
- * $Id: eit.c 1.3 2000/09/17 15:23:05 kls Exp $
+ * $Id: eit.c 1.4 2000/10/01 14:09:05 kls Exp $
***************************************************************************/
#include "eit.h"
@@ -424,9 +424,8 @@ int cEIT::SetProgramNumber(unsigned short pnr)
evtRunning.bIsValid = false;
evtNext.bIsValid = false;
uProgramNumber = pnr;
- return GetEIT();
}
- return (IsValid() ? 1 : -1);
+ return 1;
}
/** retrieves the string for the running title */
@@ -503,6 +502,7 @@ char * cEIT::GetNextTime()
/** */
bool cEIT::IsValid()
{
+ GetEIT();
return (evtRunning.bIsValid && evtNext.bIsValid);
}