diff options
Diffstat (limited to 'xml/string.h')
-rw-r--r-- | xml/string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xml/string.h b/xml/string.h index fe7149c..7f77dc9 100644 --- a/xml/string.h +++ b/xml/string.h @@ -1,5 +1,5 @@ /* - * $Id: string.h,v 1.6 2005/01/02 16:54:41 lordjaxom Exp $ + * $Id: string.h,v 1.7 2005/01/02 20:04:39 lordjaxom Exp $ */ #ifndef VDR_TEXT2SKIN_XML_STRING_H @@ -183,7 +183,7 @@ public: ~cxString(); bool Parse(const std::string &Text); - bool Parse(void) { return Parse(mOriginal); } + bool Parse(void) { return mOriginal.length() > 0 ? Parse(mOriginal) : true; } cxType Evaluate(void) const; void SetListIndex(uint Index, int Tab); |