* Source/NSXMLParser.m: Fix small bug in last commit that broke

all gui applications when there was a commented out section in the
user default XML file.
This commit is contained in:
fredkiefer 2020-05-08 21:59:28 +02:00
parent 5aab6f84cf
commit f4c5c519c2
2 changed files with 7 additions and 1 deletions

View file

@ -1428,7 +1428,7 @@ NSLog(@"_processTag <%@%@ %@>", flag?@"/": @"", tag, attributes);
this->cp += 3;
tp = this->cp;
while (this->cp < this->cend-3
&& strncmp((char *)this->cp, "-->", 3) != 0)
&& strncmp((char *)addr(this->cp), "-->", 3) != 0)
{
this->cp++; // search
}