mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 06:21:09 +00:00
* Source/NSBrowser.m (-selectionIndexPaths): Actually do the correction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37404 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
929048423f
commit
be61e98fac
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-11-23 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSBrowser.m (-selectionIndexPaths): Actually do the correction.
|
||||
|
||||
2013-11-23 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSBrowser.m (-selectionIndexPaths): Correct off by one
|
||||
|
|
|
@ -529,7 +529,7 @@ static BOOL browserUseBezels;
|
|||
if (selectedColumn > 0)
|
||||
{
|
||||
NSIndexPath *indexPath;
|
||||
NSUInteger rowIndexes[selectedColumn + 1];
|
||||
NSUInteger rowIndexes[selectedColumn];
|
||||
NSInteger columnNumber = 0;
|
||||
|
||||
for (columnNumber = 0; columnNumber < selectedColumn; columnNumber++)
|
||||
|
@ -538,7 +538,7 @@ static BOOL browserUseBezels;
|
|||
}
|
||||
|
||||
indexPath = [[NSIndexPath alloc] initWithIndexes: rowIndexes
|
||||
length: selectedColumn + 1];
|
||||
length: selectedColumn];
|
||||
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue