mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added a missing 'const'
This commit is contained in:
parent
894a392640
commit
8a7bc6a0bb
@ -99,3 +99,7 @@ VDR Plugin 'pictures' Revision History
|
|||||||
2015-02-19: Version 2.2.0
|
2015-02-19: Version 2.2.0
|
||||||
|
|
||||||
- Official release.
|
- Official release.
|
||||||
|
|
||||||
|
2015-07.23: Version 2.3.1
|
||||||
|
|
||||||
|
- Added a missing 'const'.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* 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"
|
#include "menu.h"
|
||||||
@ -85,7 +85,7 @@ eOSState cPictureMenu::SelectItem(const char *Path, bool SlideShow)
|
|||||||
if (Item) {
|
if (Item) {
|
||||||
const cList<cPictureEntry> *l = pictureEntry->Entries();
|
const cList<cPictureEntry> *l = pictureEntry->Entries();
|
||||||
if (l) {
|
if (l) {
|
||||||
cPictureEntry *pe = l->Get(Current());
|
const cPictureEntry *pe = l->Get(Current());
|
||||||
if (pe) {
|
if (pe) {
|
||||||
if (SlideShow) {
|
if (SlideShow) {
|
||||||
cControl::Launch(new cPictureControl(pictures, pe, true));
|
cControl::Launch(new cPictureControl(pictures, pe, true));
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* 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 <getopt.h>
|
#include <getopt.h>
|
||||||
@ -11,7 +11,7 @@
|
|||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "player.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 *DESCRIPTION = trNOOP("A simple picture viewer");
|
||||||
static const char *MAINMENUENTRY = trNOOP("Pictures");
|
static const char *MAINMENUENTRY = trNOOP("Pictures");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user