mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:04:20 +00:00
* Source/NSBrowser.m ([NSBrowser -_unloadFromColumn:]): fix index out
of bound (patch by Enrico Sersale <enrico@imago.ro>) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9474 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
60b8f20ce4
commit
631fba3e97
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-03-22 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||
|
||||
* Source/NSBrowser.m ([NSBrowser -_unloadFromColumn:]): fix index out
|
||||
of bound (patch by Enrico Sersale <enrico@imago.ro>)
|
||||
|
||||
2001-03-22 Mirko Viviani <mirko.viviani@rccr.cremona.it>
|
||||
|
||||
* Source/NSButtonCell.m ([NSButtonCell -setCellAttribute:to:]):
|
||||
|
|
|
@ -3153,7 +3153,11 @@ static float scrollerWidth; // == [NSScroller scrollerWidth]
|
|||
}
|
||||
|
||||
if (!_reusesColumns && i >= _maxVisibleColumns)
|
||||
[_browserColumns removeObject:bc];
|
||||
{
|
||||
[_browserColumns removeObject:bc];
|
||||
count--;
|
||||
i--;
|
||||
}
|
||||
}
|
||||
|
||||
if (column == 0)
|
||||
|
|
Loading…
Reference in a new issue