From 8a7bc6a0bbf60cae8b6391a630880aad5cba3363 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 17 Jul 2015 10:15:35 +0200 Subject: Added a missing 'const' --- PLUGINS/src/pictures/HISTORY | 4 ++++ PLUGINS/src/pictures/menu.c | 4 ++-- PLUGINS/src/pictures/pictures.c | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'PLUGINS/src') diff --git a/PLUGINS/src/pictures/HISTORY b/PLUGINS/src/pictures/HISTORY index bbe16851..0d009fa1 100644 --- a/PLUGINS/src/pictures/HISTORY +++ b/PLUGINS/src/pictures/HISTORY @@ -99,3 +99,7 @@ VDR Plugin 'pictures' Revision History 2015-02-19: Version 2.2.0 - Official release. + +2015-07.23: Version 2.3.1 + +- Added a missing 'const'. diff --git a/PLUGINS/src/pictures/menu.c b/PLUGINS/src/pictures/menu.c index 6a64d480..afb01a90 100644 --- a/PLUGINS/src/pictures/menu.c +++ b/PLUGINS/src/pictures/menu.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: menu.c 1.1 2008/01/13 11:35:18 kls Exp $ + * $Id: menu.c 4.1 2015/07/17 10:13:56 kls Exp $ */ #include "menu.h" @@ -85,7 +85,7 @@ eOSState cPictureMenu::SelectItem(const char *Path, bool SlideShow) if (Item) { const cList *l = pictureEntry->Entries(); if (l) { - cPictureEntry *pe = l->Get(Current()); + const cPictureEntry *pe = l->Get(Current()); if (pe) { if (SlideShow) { cControl::Launch(new cPictureControl(pictures, pe, true)); diff --git a/PLUGINS/src/pictures/pictures.c b/PLUGINS/src/pictures/pictures.c index 46a08716..cb020e6e 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 3.2 2015/02/17 13:12:50 kls Exp $ + * $Id: pictures.c 4.1 2015/07/17 10:14:22 kls Exp $ */ #include @@ -11,7 +11,7 @@ #include "menu.h" #include "player.h" -static const char *VERSION = "2.2.0"; +static const char *VERSION = "2.3.1"; static const char *DESCRIPTION = trNOOP("A simple picture viewer"); static const char *MAINMENUENTRY = trNOOP("Pictures"); -- cgit v1.2.3