mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 09:41:15 +00:00
Range setting fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8350 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7c3869a9fa
commit
8eb25cde59
1 changed files with 14 additions and 3 deletions
|
@ -649,9 +649,20 @@ SANITY();
|
||||||
if (info->loc >= beginRangeLoc || info->attrs == attributes)
|
if (info->loc >= beginRangeLoc || info->attrs == attributes)
|
||||||
{
|
{
|
||||||
info->loc = beginRangeLoc;
|
info->loc = beginRangeLoc;
|
||||||
unCacheAttributes(info->attrs);
|
if (info->attrs == attributes)
|
||||||
RELEASE(info->attrs);
|
{
|
||||||
info->attrs = attributes;
|
unCacheAttributes(attributes);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
unCacheAttributes(info->attrs);
|
||||||
|
RELEASE(info->attrs);
|
||||||
|
info->attrs = attributes;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (info->attrs == attributes)
|
||||||
|
{
|
||||||
|
unCacheAttributes(attributes);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue