From 016317b1e519d67177bf606b83f17f386caace9b Mon Sep 17 00:00:00 2001 From: fclaude Date: Sat, 21 Mar 2009 19:09:48 +0000 Subject: [PATCH] fixes git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@264 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- XMLTree.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/XMLTree.cpp b/XMLTree.cpp index ae80fc2..8f8739d 100644 --- a/XMLTree.cpp +++ b/XMLTree.cpp @@ -1041,9 +1041,9 @@ int XMLTree::CloseDocument() // If we found an attribute then "<@>" is present in the tree // if we didn't then it is not. "<$>" is never present in the tree - //uint max_tag = 0; - //for(uint i=0;i<(uint)npar-1;i++) - // max_tag = max(max_tag,tags_aux[i]); + uint max_tag = 0; + for(uint i=0;i<(uint)npar-1;i++) + max_tag = max(max_tag,tags_aux[i]); //max_tag++; //tags_aux = (TagType *) urealloc(tags_aux, sizeof(TagType)*(npar + 1)); //tags_aux[npar++] = max_tag; -- 2.17.1