summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-14 16:55:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-14 16:55:28 +0100
commit00187ff97ccdcca3b8114ec0c2c9dbf4f536baf8 (patch)
tree826a0efc919800d0bf597471e02e301849e20b00
parent1d1b2f12758ce3ab87e924a84d83c8a176c0ca3a (diff)
downloadvdr-00187ff97ccdcca3b8114ec0c2c9dbf4f536baf8.tar.gz
vdr-00187ff97ccdcca3b8114ec0c2c9dbf4f536baf8.tar.bz2
Fixed handling the '-E' option
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--vdr.c7
3 files changed, 8 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 65674af8..f45912eb 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -791,6 +791,7 @@ Benjamin Harling <benjamin.harling@web.de>
Christian Jacobsen <christian.jacobsen@stageholding.de>
for making the LIRC interface skip keys that come in too fast
+ for reporting a problem in handling the '-E' options in version 1.3.18
Andreas Mair <Andreas.Mair@linogate.com>
for reporting a short display of the main menu if a plugin displays its own OSD and
diff --git a/HISTORY b/HISTORY
index 0f94df8f..0075071e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3303,3 +3303,5 @@ Video Disk Recorder Revision History
this one).
- The "Green" button in the "Main" menu is now always "Audio", since the audio
channel might be changed even if there is only one actual audio PID.
+- Fixed handling the '-E' option which was broken in version 1.3.18 (thanks to
+ Christian Jacobsen for reporting this one).
diff --git a/vdr.c b/vdr.c
index 2089d961..d1f8c4ae 100644
--- a/vdr.c
+++ b/vdr.c
@@ -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();
}