diff options
Diffstat (limited to 'PLUGINS/src')
-rw-r--r-- | PLUGINS/src/pictures/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/src/pictures/pictures.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/PLUGINS/src/pictures/HISTORY b/PLUGINS/src/pictures/HISTORY index 5ea878fd..19c968ad 100644 --- a/PLUGINS/src/pictures/HISTORY +++ b/PLUGINS/src/pictures/HISTORY @@ -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. diff --git a/PLUGINS/src/pictures/pictures.c b/PLUGINS/src/pictures/pictures.c index 77fb4216..57121b5e 100644 --- a/PLUGINS/src/pictures/pictures.c +++ b/PLUGINS/src/pictures/pictures.c @@ -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; |