git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4095 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-04-18 06:11:29 +00:00
parent a697248374
commit 5eb0a2e7a0
3 changed files with 88 additions and 6 deletions

View file

@ -713,11 +713,15 @@ static int mouseDownFlags = 0;
for (i = 0; i < numRows; i++)
{
NSMutableArray* row = [cells objectAtIndex: i];
NSMutableArray* rowArray = [cells objectAtIndex: i];
for (j = 0; j < numCols; j++)
if ([row objectAtIndex: j] == aCell)
return YES;
if ([rowArray objectAtIndex: j] == aCell)
{
*row = i;
*column = j;
return YES;
}
}
return NO;