summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-10-03 10:34:48 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-10-03 10:34:48 +0200
commit6a50f37f25b43112d4a1fad8a5057089548dfc3c (patch)
treec3a28722d1c7b04c12174fe748aead391e7c0ed8 /eit.c
parentb4faf3787a24c43b0a22b3ee695374012c992eb2 (diff)
downloadvdr-6a50f37f25b43112d4a1fad8a5057089548dfc3c.tar.gz
vdr-6a50f37f25b43112d4a1fad8a5057089548dfc3c.tar.bz2
Faster OSD by using bitmap
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 d62c9025..44c873b1 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);
}