mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed handling the '-l' option
This commit is contained in:
parent
1e69c4a578
commit
2355fa852b
1
HISTORY
1
HISTORY
@ -5543,3 +5543,4 @@ Video Disk Recorder Revision History
|
|||||||
- Added cString::Truncate().
|
- Added cString::Truncate().
|
||||||
- Fixed the "i18n:" target in the "newplugin" script, so that it can create the
|
- Fixed the "i18n:" target in the "newplugin" script, so that it can create the
|
||||||
initial *.pot file.
|
initial *.pot file.
|
||||||
|
- Fixed handling the '-l' option.
|
||||||
|
4
vdr.c
4
vdr.c
@ -22,7 +22,7 @@
|
|||||||
*
|
*
|
||||||
* The project's page is at http://www.cadsoft.de/vdr
|
* 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>
|
#include <getopt.h>
|
||||||
@ -304,7 +304,7 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'l' | 0x100:
|
case 'l' | 0x100:
|
||||||
LircDevice = optarg ? : LIRC_DEVICE;
|
LircDevice = optarg ? optarg : LIRC_DEVICE;
|
||||||
break;
|
break;
|
||||||
case 'm': MuteAudio = true;
|
case 'm': MuteAudio = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user