summaryrefslogtreecommitdiffstats
path: root/generic/tkGrid.c
diff options
context:
space:
mode:
authorpspjuth <pspjuth@noemail.net>2006-01-11 19:53:45 (GMT)
committerpspjuth <pspjuth@noemail.net>2006-01-11 19:53:45 (GMT)
commitbbfc96231449d6fe9ad27bb22bf57756563e87e5 (patch)
treefc98dd4360a506cf1beb3f12d5921877329e9fe3 /generic/tkGrid.c
parent7c6e65647eadf73b1e81fbb3777866cc882f6db3 (diff)
downloadtk-bbfc96231449d6fe9ad27bb22bf57756563e87e5.zip
tk-bbfc96231449d6fe9ad27bb22bf57756563e87e5.tar.gz
tk-bbfc96231449d6fe9ad27bb22bf57756563e87e5.tar.bz2
Removed a lingering error message from TIP#147 implementation.
FossilOrigin-Name: f9a5770461ecacd10d23ce1ca5be19e81cb30638
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r--generic/tkGrid.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c
index e9dfce1..2b5dfef 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.41 2005/11/17 16:21:55 dkf Exp $
+ * RCS: @(#) $Id: tkGrid.c,v 1.42 2006/01/11 19:53:47 pspjuth Exp $
*/
#include "tkInt.h"
@@ -1067,6 +1067,12 @@ GridRowColumnConfigureCommand(tkwin, interp, objc, objv)
}
/*
+ * Reset any lingering error from e.g GetInt.
+ */
+
+ Tcl_ResetResult(interp);
+
+ /*
* The outer loop is only to handle "all".
*/