mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:30:37 +00:00
Compare row against _numberOfRows not _numberOfColumns.
Patch by Tim Schmielau <tim@smmo.org>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28379 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a225e27c0e
commit
fc7b0dd25d
2 changed files with 9 additions and 1 deletions
|
@ -5987,7 +5987,8 @@ static BOOL selectContiguousRegion(NSTableView *self,
|
|||
column: (int)column
|
||||
{
|
||||
int i,j;
|
||||
if (row < _numberOfColumns)
|
||||
|
||||
if (row < _numberOfRows)
|
||||
{
|
||||
// First look for cells in the same row
|
||||
for (j = column - 1; j > -1; j--)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue