mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Removed an obsolete command line option
This commit is contained in:
		| @@ -67,3 +67,7 @@ VDR Plugin 'pictures' Revision History | ||||
| 2012-02-17: | ||||
|  | ||||
| - cReadDir::Next() now skips directory entries "." and "..". | ||||
|  | ||||
| 2012-02-27: Version 0.1.2 | ||||
|  | ||||
| - Removed an obsolete command line option. | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
|  * | ||||
|  * See the README file for copyright information and how to reach the author. | ||||
|  * | ||||
|  * $Id: pictures.c 2.4 2012/02/17 14:00:48 kls Exp $ | ||||
|  * $Id: pictures.c 2.5 2012/02/27 12:35:45 kls Exp $ | ||||
|  */ | ||||
|  | ||||
| #include <getopt.h> | ||||
| @@ -11,7 +11,7 @@ | ||||
| #include "menu.h" | ||||
| #include "player.h" | ||||
|  | ||||
| static const char *VERSION       = "0.1.1"; | ||||
| static const char *VERSION       = "0.1.2"; | ||||
| static const char *DESCRIPTION   = trNOOP("A simple picture viewer"); | ||||
| static const char *MAINMENUENTRY = trNOOP("Pictures"); | ||||
|  | ||||
| @@ -86,7 +86,7 @@ bool cPluginPictures::ProcessArgs(int argc, char *argv[]) | ||||
|      }; | ||||
|  | ||||
|   int c; | ||||
|   while ((c = getopt_long(argc, argv, "d:s:", long_options, NULL)) != -1) { | ||||
|   while ((c = getopt_long(argc, argv, "d:", long_options, NULL)) != -1) { | ||||
|         switch (c) { | ||||
|           case 'd': strn0cpy(PictureDirectory, optarg, sizeof(PictureDirectory)); | ||||
|                     break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user