mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Minor fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15743 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
460cd690de
commit
17ac680236
5 changed files with 29 additions and 3 deletions
|
@ -1978,7 +1978,10 @@ static NSString *endMarker = @"At end of incremental parse";
|
|||
int newVal = (yesno == YES) ? 1 : 0;
|
||||
|
||||
xmlGetFeature((xmlParserCtxtPtr)lib, "substitute entities", (void*)&oldVal);
|
||||
xmlSetFeature((xmlParserCtxtPtr)lib, "substitute entities", (void*)&newVal);
|
||||
if (xmlSetFeature((xmlParserCtxtPtr)lib, "substitute entities",
|
||||
(void*)&newVal) < 0)
|
||||
[NSException raise: NSInternalInconsistencyException
|
||||
format: @"Unable to set substituteEntities"];
|
||||
return (oldVal == 1) ? YES : NO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue