summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2014-01-06 20:42:30 +0100
committerDimitar Petrovski <dimeptr@gmail.com>2014-01-06 20:42:30 +0100
commitec10b1df60b96477c8cb5e24d9833eb4bdb75f99 (patch)
tree565cbe1b66e92d2bc8fe72b4b135c3c3d7c34965
parent60376c4c1f0a4b65cb07b89d5c095015ec3b1215 (diff)
downloadvdr-plugin-eepg-ec10b1df60b96477c8cb5e24d9833eb4bdb75f99.tar.gz
vdr-plugin-eepg-ec10b1df60b96477c8cb5e24d9833eb4bdb75f99.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 a970479..ac2f9fa 100644
--- a/eepg.c
+++ b/eepg.c
@@ -3553,7 +3553,7 @@ private:
struct {
cFilterEEPG *filter;
cDevice *device;
- } epg[MAXDVBDEVICES];
+ } epg[MAXDEVICES];
void CheckCreateFile(const char* Name, const char *fileContent[]);
@@ -3618,7 +3618,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;
@@ -3684,7 +3684,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);