diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-14 16:55:28 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-14 16:55:28 +0100 |
commit | 00187ff97ccdcca3b8114ec0c2c9dbf4f536baf8 (patch) | |
tree | 826a0efc919800d0bf597471e02e301849e20b00 /vdr.c | |
parent | 1d1b2f12758ce3ab87e924a84d83c8a176c0ca3a (diff) | |
download | vdr-00187ff97ccdcca3b8114ec0c2c9dbf4f536baf8.tar.gz vdr-00187ff97ccdcca3b8114ec0c2c9dbf4f536baf8.tar.bz2 |
Fixed handling the '-E' option
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.199 2005/01/09 16:35:36 kls Exp $ + * $Id: vdr.c 1.200 2005/01/14 16:50:39 kls Exp $ */ #include <getopt.h> @@ -412,7 +412,10 @@ int main(int argc, char *argv[]) } else if (*EpgDataFileName != '/' && *EpgDataFileName != '.') EpgDirectory = VideoDirectory; - cSchedules::SetEpgDataFileName(AddDirectory(EpgDirectory, EpgDataFileName)); + if (EpgDirectory) + cSchedules::SetEpgDataFileName(AddDirectory(EpgDirectory, EpgDataFileName)); + else + cSchedules::SetEpgDataFileName(EpgDataFileName); cSchedules::Read(); } |