Introduced 'operator const void * ()' in cString

This commit is contained in:
Klaus Schmidinger
2008-02-17 13:47:12 +01:00
parent 54b4d4e4e7
commit dc7c5464fc
9 changed files with 21 additions and 16 deletions

View File

@@ -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.

View File

@@ -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