summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-11 14:51:28 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-11 14:51:28 +0200
commit2069b9946ea0c561d5c65bfc19baa202edeeaa91 (patch)
tree4c1d46c74f6694d3dc17cbb9d7fbc2025eb01ed7 /eit.c
parent8e7c06006f8667148f6564326be2deafa5a3a3e8 (diff)
downloadvdr-2069b9946ea0c561d5c65bfc19baa202edeeaa91.tar.gz
vdr-2069b9946ea0c561d5c65bfc19baa202edeeaa91.tar.bz2
Fixed AddDirectory
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index 50f380f2..6584e598 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.17 2001/08/11 09:31:54 kls Exp $
+ * $Id: eit.c 1.18 2001/08/11 14:51:28 kls Exp $
***************************************************************************/
#include "eit.h"
@@ -1140,7 +1140,9 @@ void cSIProcessor::SetEpgDataFileName(const char *FileName)
const char *cSIProcessor::GetEpgDataFileName(void)
{
- return epgDataFileName ? AddDirectory(VideoDirectory, epgDataFileName) : NULL;
+ if (epgDataFileName)
+ return *epgDataFileName == '/' ? epgDataFileName : AddDirectory(VideoDirectory, epgDataFileName);
+ return NULL;
}
void cSIProcessor::SetStatus(bool On)