diff options
author | pspjuth <pspjuth@noemail.net> | 2006-04-12 22:31:00 (GMT) |
---|---|---|
committer | pspjuth <pspjuth@noemail.net> | 2006-04-12 22:31:00 (GMT) |
commit | 0e86fe5d41a7aa27dd1ae4ec2396dec6424cb662 (patch) | |
tree | bc99d563ca4b767f878a955c481969955142f203 /generic | |
parent | 31f0aa48417082d544dab3e1156198d44dc5b744 (diff) | |
download | tk-0e86fe5d41a7aa27dd1ae4ec2396dec6424cb662.zip tk-0e86fe5d41a7aa27dd1ae4ec2396dec6424cb662.tar.gz tk-0e86fe5d41a7aa27dd1ae4ec2396dec6424cb662.tar.bz2 |
Correction to 1432666 fix.
FossilOrigin-Name: 4b53d3060c75dc7cbadcb5620162426be8f2b73d
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkGrid.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c index 373567d..a1987a1 100644 --- a/generic/tkGrid.c +++ b/generic/tkGrid.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkGrid.c,v 1.25.2.5 2006/04/12 17:35:21 dgp Exp $ + * RCS: @(#) $Id: tkGrid.c,v 1.25.2.6 2006/04/12 22:31:01 pspjuth Exp $ */ #include "tkInt.h" @@ -2835,7 +2835,6 @@ ConfigureSlaves(interp, tkwin, objc, objv) "\": must be a positive integer", (char *)NULL); return TCL_ERROR; } - slavePtr->numRows = tmp; if (SetSlaveRow(interp, slavePtr, -1, tmp) != TCL_OK) { return TCL_ERROR; } @@ -2929,12 +2928,8 @@ ConfigureSlaves(interp, tkwin, objc, objv) } if (slavePtr->row == -1) { if (masterPtr->masterDataPtr == NULL) { - if (SetSlaveRow(interp, slavePtr, 0, -1) != TCL_OK) { - return TCL_ERROR; - } slavePtr->row = 0; } else { - slavePtr->row = masterPtr->masterDataPtr->rowEnd; if (SetSlaveRow(interp, slavePtr, masterPtr->masterDataPtr->rowEnd, -1) != TCL_OK) { return TCL_ERROR; |