summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2014-01-06 19:34:15 (GMT)
committerDimitar Petrovski <dimeptr@gmail.com>2014-01-06 19:34:15 (GMT)
commit5149d28a52c7e103ad1007494cb404a1d128bc1b (patch)
treef9083bb656036de823588a781c0d8d3cc2a794e5
parent07d7e7edfc182082af61756ac31171bf76298a8c (diff)
downloadvdr-plugin-eepg-5149d28a52c7e103ad1007494cb404a1d128bc1b.tar.gz
vdr-plugin-eepg-5149d28a52c7e103ad1007494cb404a1d128bc1b.tar.bz2
fixed compile with VDR 2.1.3
-rw-r--r--eepg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eepg.c b/eepg.c
index 6bf997a..3ac3e5e 100644
--- a/eepg.c
+++ b/eepg.c
@@ -3420,7 +3420,7 @@ private:
struct {
cFilterEEPG *filter;
cDevice *device;
- } epg[MAXDVBDEVICES];
+ } epg[MAXDEVICES];
void CheckCreateFile(const char* Name, const char *fileContent[]);
@@ -3485,7 +3485,7 @@ bool cPluginEEPG::Start (void)
#if APIVERSNUM < 10507
RegisterI18n (Phrases);
#endif
- for (int i = 0; i < MAXDVBDEVICES; i++) {
+ for (int i = 0; i < MAXDEVICES; i++) {
cDevice *dev = cDevice::GetDevice (i);
if (dev) {
epg[i].device = dev;
@@ -3551,7 +3551,7 @@ bool cPluginEEPG::Start (void)
void cPluginEEPG::Stop (void)
{
- for (int i = 0; i < MAXDVBDEVICES; i++) {
+ for (int i = 0; i < MAXDEVICES; i++) {
cDevice *dev = epg[i].device;
if (dev)
dev->Detach (epg[i].filter);