diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-04-02 20:59:05 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-04-02 20:59:05 +0200 |
commit | 967ec9f2d47ea61c004f6840e2620ca122a4dd24 (patch) | |
tree | 09d668f00e5945122e498d912e70a0668d116788 /menu.c | |
parent | 76b86feca4f4dde86c6e5bd9e300fa737755621b (diff) | |
download | vdr-967ec9f2d47ea61c004f6840e2620ca122a4dd24.tar.gz vdr-967ec9f2d47ea61c004f6840e2620ca122a4dd24.tar.bz2 |
Fixed a problem with wrong EPG data in the Schedules menu
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.180 2002/03/31 21:17:42 kls Exp $ + * $Id: menu.c 1.181 2002/04/02 20:53:52 kls Exp $ */ #include "menu.h" @@ -1539,6 +1539,7 @@ private: void PrepareSchedule(cChannel *Channel); public: cMenuSchedule(void); + virtual ~cMenuSchedule(); virtual eOSState ProcessKey(eKeys Key); }; @@ -1556,6 +1557,11 @@ cMenuSchedule::cMenuSchedule(void) } } +cMenuSchedule::~cMenuSchedule() +{ + cMenuWhatsOn::ScheduleEventInfo(); // makes sure any posted data is cleared +} + static int CompareEventTime(const void *p1, const void *p2) { return (int)((*(cEventInfo **)p1)->GetTime() - (*(cEventInfo **)p2)->GetTime()); |