From ecb177cadbcff850a16c4b9e306beb15f61ac6f9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 4 Nov 2012 18:51:53 +0000 Subject: kernel extraicons, part II git-svn-id: http://svn.miranda-ng.org/main/trunk@2188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/xml/xmlParser.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/xml') diff --git a/src/modules/xml/xmlParser.cpp b/src/modules/xml/xmlParser.cpp index a473c9b194..b0e9c27970 100644 --- a/src/modules/xml/xmlParser.cpp +++ b/src/modules/xml/xmlParser.cpp @@ -2540,10 +2540,10 @@ XMLNode XMLNode::getNextNode() const XMLNodeDataTag *par = d->pParent; if ( !par) return emptyXMLNode; int i, n = par->nChild; - for (i=0; ipChild[i].d == d) break; - } + for (i=0; ipChild[i].d == d) + break; + return XMLNode(par).getChildNode(d->lpszName, &++i); } @@ -2705,7 +2705,7 @@ XMLCSTR XMLNode::getInnerText() const int count = nElement(); int i, length = 1; - for (i=0; i < count; ++i) + for (i=0; i < count; i++) { XMLNodeContents c = enumContents(i); switch (c.etype) @@ -2720,7 +2720,7 @@ XMLCSTR XMLNode::getInnerText() const } XMLCHAR *buf = (XMLCHAR *)malloc(sizeof(XMLCHAR) * length); XMLCHAR *pos = buf; - for (i=0; i < count; ++i) + for (i=0; i < count; i++) { XMLNodeContents c = enumContents(i); switch (c.etype) -- cgit v1.2.3