[vlc-commits] skins2: back to working order after latest change in xml design
Erwan Tulou
git at videolan.org
Sun Jan 23 14:57:36 CET 2011
vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Jan 23 14:52:39 2011 +0100| [fe6591058282a744a49b238d01ad2c2e4fa82cb7] | committer: Erwan Tulou
skins2: back to working order after latest change in xml design
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe6591058282a744a49b238d01ad2c2e4fa82cb7
---
modules/gui/skins2/parser/xmlparser.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/gui/skins2/parser/xmlparser.cpp b/modules/gui/skins2/parser/xmlparser.cpp
index 95aba11..6f92917 100644
--- a/modules/gui/skins2/parser/xmlparser.cpp
+++ b/modules/gui/skins2/parser/xmlparser.cpp
@@ -134,13 +134,12 @@ bool XMLParser::parse()
{
const char *node;
int type;
- int ret;
if( !m_pReader ) return false;
m_errors = false;
- while( (ret = xml_ReaderNextNode( m_pReader, &node )) > 0 )
+ while( (type = xml_ReaderNextNode( m_pReader, &node )) > 0 )
{
if( m_errors ) return false;
More information about the vlc-commits
mailing list