* Tools/gsdoc.m: corrected inversed test for missing entities

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13268 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2002-03-28 18:10:51 +00:00
parent c0b0abdbd1
commit 9a972398e0
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2002-03-28 Manuel Guesdon <mguesdon@orange-concept.com>
* Tools/gsdoc.m: corrected inversed test for missing entities
2002-03-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: Added function to fetch boolean value from env

View file

@ -3035,7 +3035,7 @@ loader(const char *url, const char *eid, xmlParserCtxtPtr *ctxt)
NSDebugMLLog(@"debug", @"Start parsing EOEntity");
if (entityName != nil)
if (!entityName)
{
NSLog(@"Missing entity name");
return nil;
@ -3044,7 +3044,7 @@ loader(const char *url, const char *eid, xmlParserCtxtPtr *ctxt)
// We're working on EOEntity
ASSIGN(currentEOEntity, entityName);
if (ref != nil)
if (!ref)
{
ref = entityName;
}