Fix logic error in attribute handling

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8358 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 2000-12-18 19:29:49 +00:00
parent 1ed1b965ee
commit 64c416ad2f

View file

@ -584,7 +584,7 @@ SANITY();
info->loc = afterRangeLoc;
arrayIndex--;
}
else if (effectiveRange.location < beginRangeLoc)
else if (NSMaxRange(effectiveRange) > afterRangeLoc)
{
/*
* The located range starts before our range.