summaryrefslogtreecommitdiff
path: root/PLUGINS/src/pictures/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-07-17 10:15:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2015-07-17 10:15:35 +0200
commit8a7bc6a0bbf60cae8b6391a630880aad5cba3363 (patch)
tree763e8530bb7123fdb9f5fe1165d2e66efe1a0176 /PLUGINS/src/pictures/menu.c
parent894a3926401134b758b9f908d9c41b2fefa654bb (diff)
downloadvdr-8a7bc6a0bbf60cae8b6391a630880aad5cba3363.tar.gz
vdr-8a7bc6a0bbf60cae8b6391a630880aad5cba3363.tar.bz2
Added a missing 'const'
Diffstat (limited to 'PLUGINS/src/pictures/menu.c')
-rw-r--r--PLUGINS/src/pictures/menu.c4
1 files changed, 2 insertions, 2 deletions
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<cPictureEntry> *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));