diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-03 10:34:48 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-10-03 10:34:48 +0200 |
commit | 6a50f37f25b43112d4a1fad8a5057089548dfc3c (patch) | |
tree | c3a28722d1c7b04c12174fe748aead391e7c0ed8 /eit.c | |
parent | b4faf3787a24c43b0a22b3ee695374012c992eb2 (diff) | |
download | vdr-6a50f37f25b43112d4a1fad8a5057089548dfc3c.tar.gz vdr-6a50f37f25b43112d4a1fad8a5057089548dfc3c.tar.bz2 |
Faster OSD by using bitmap
Diffstat (limited to 'eit.c')
-rw-r--r-- | eit.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } |