mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:00:38 +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
|
@ -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…
Add table
Add a link
Reference in a new issue