mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 07:00:37 +00:00
Tidied a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5170 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b439de410c
commit
5d3bd41d1c
1 changed files with 6 additions and 4 deletions
|
@ -2226,7 +2226,7 @@ fprintf(stderr, " NSMatrix: selectTextAtRow --- ");
|
|||
SEL mkSel = @selector(makeCellAtRow:column:);
|
||||
IMP mkImp = [self methodForSelector: mkSel];
|
||||
|
||||
NSLog(@"mr: %d mc:%d nr:%d nc:%d r:%d c:%d", maxRows, maxCols, numRows, numCols, row, col);
|
||||
//NSLog(@"%x - mr: %d mc:%d nr:%d nc:%d r:%d c:%d", (unsigned)self, maxRows, maxCols, numRows, numCols, row, col);
|
||||
if (row < 0)
|
||||
{
|
||||
#if STRICT == 0
|
||||
|
@ -2256,11 +2256,13 @@ NSLog(@"mr: %d mc:%d nr:%d nc:%d r:%d c:%d", maxRows, maxCols, numRows, numCols,
|
|||
* putCell:atRow:column: to implement it, and that checks bounds.
|
||||
*/
|
||||
oldMaxC = maxCols;
|
||||
maxCols = col;
|
||||
numCols = col;
|
||||
if (col > maxCols)
|
||||
maxCols = col;
|
||||
oldMaxR = maxRows;
|
||||
maxRows = row;
|
||||
numRows = row;
|
||||
if (row > maxRows)
|
||||
maxRows = row;
|
||||
|
||||
if (col > oldMaxC)
|
||||
{
|
||||
|
@ -2331,7 +2333,7 @@ NSLog(@"mr: %d mc:%d nr:%d nc:%d r:%d c:%d", maxRows, maxCols, numRows, numCols,
|
|||
}
|
||||
|
||||
[self deselectAllCells];
|
||||
NSLog(@"end mr: %d mc:%d nr:%d nc:%d r:%d c:%d", maxRows, maxCols, numRows, numCols, row, col);
|
||||
//NSLog(@"%x - end mr: %d mc:%d nr:%d nc:%d r:%d c:%d", (unsigned)self, maxRows, maxCols, numRows, numCols, row, col);
|
||||
}
|
||||
|
||||
- (void) _setState: (int)state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue