summaryrefslogtreecommitdiffstats
path: root/generic/tkGrid.c
diff options
context:
space:
mode:
authorpspjuth <peter.spjuth@gmail.com>2006-04-12 22:31:01 (GMT)
committerpspjuth <peter.spjuth@gmail.com>2006-04-12 22:31:01 (GMT)
commitf89f41d9cd1843aa66a98a2d3ae083483beb4512 (patch)
treebc99d563ca4b767f878a955c481969955142f203 /generic/tkGrid.c
parent6be2d762849f33424837b70b6e0b36824259a50a (diff)
downloadtk-f89f41d9cd1843aa66a98a2d3ae083483beb4512.zip
tk-f89f41d9cd1843aa66a98a2d3ae083483beb4512.tar.gz
tk-f89f41d9cd1843aa66a98a2d3ae083483beb4512.tar.bz2
Correction to 1432666 fix.
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r--generic/tkGrid.c7
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;