summaryrefslogtreecommitdiff
path: root/vdr.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-01-13 11:52:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-01-13 11:52:22 +0100
commit2355fa852b8dd85d12520e29dd3198b101c85891 (patch)
tree22dba376dc93ccbaf50668280b59fffc6b498406 /vdr.c
parent1e69c4a578aad29cf0f1ab76907e0f8f3e68bc17 (diff)
downloadvdr-2355fa852b8dd85d12520e29dd3198b101c85891.tar.gz
vdr-2355fa852b8dd85d12520e29dd3198b101c85891.tar.bz2
Fixed handling the '-l' option
Diffstat (limited to 'vdr.c')
-rw-r--r--vdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vdr.c b/vdr.c
index 6a8ac574..05b9e487 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.304 2008/01/06 11:48:14 kls Exp $
+ * $Id: vdr.c 1.305 2008/01/13 11:51:53 kls Exp $
*/
#include <getopt.h>
@@ -304,7 +304,7 @@ int main(int argc, char *argv[])
}
break;
case 'l' | 0x100:
- LircDevice = optarg ? : LIRC_DEVICE;
+ LircDevice = optarg ? optarg : LIRC_DEVICE;
break;
case 'm': MuteAudio = true;
break;