From dc7c5464fc07b31b904ea8118f104a7cb289dd24 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 17 Feb 2008 13:47:12 +0100 Subject: Introduced 'operator const void * ()' in cString --- PLUGINS/src/pictures/HISTORY | 4 +++- PLUGINS/src/pictures/entry.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'PLUGINS/src') diff --git a/PLUGINS/src/pictures/HISTORY b/PLUGINS/src/pictures/HISTORY index 18966579..b0952abf 100644 --- a/PLUGINS/src/pictures/HISTORY +++ b/PLUGINS/src/pictures/HISTORY @@ -19,6 +19,8 @@ VDR Plugin 'pictures' Revision History - Added option -i to pic2mpg to ignore unknown file types. -2008-02-09: Version 0.0.5 +2008-02-17: Version 0.0.5 - Fixed setting the OSD area. +- Introduced 'operator const void * ()' in cString to catch cases where operator*() + should be used. diff --git a/PLUGINS/src/pictures/entry.c b/PLUGINS/src/pictures/entry.c index e03858c9..427585e6 100644 --- a/PLUGINS/src/pictures/entry.c +++ b/PLUGINS/src/pictures/entry.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: entry.c 1.2 2008/01/18 15:49:51 kls Exp $ + * $Id: entry.c 1.3 2008/02/17 13:42:34 kls Exp $ */ #include "entry.h" @@ -37,7 +37,7 @@ int cPictureEntry::Compare(const cListObject &ListObject) const cString cPictureEntry::Path(void) const { - return parent ? AddDirectory(parent->Path(), name) : name; + return parent ? *AddDirectory(parent->Path(), name) : name; } void cPictureEntry::Load(void) const -- cgit v1.2.3