summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter.spjuth@gmail.com <pspjuth>2006-01-11 19:53:46 (GMT)
committerpeter.spjuth@gmail.com <pspjuth>2006-01-11 19:53:46 (GMT)
commit95272221e6e8d21f252203f637207b37a5daca91 (patch)
treefc98dd4360a506cf1beb3f12d5921877329e9fe3
parentfbf6bc25fa6bb4cafb97f268f1a8485e2ae66179 (diff)
downloadtk-95272221e6e8d21f252203f637207b37a5daca91.zip
tk-95272221e6e8d21f252203f637207b37a5daca91.tar.gz
tk-95272221e6e8d21f252203f637207b37a5daca91.tar.bz2
Removed a lingering error message from TIP#147 implementation.
-rw-r--r--ChangeLog5
-rw-r--r--generic/tkGrid.c8
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7419646..4f45575 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-11 Peter Spjuth <peter.spjuth@space.se>
+
+ * generic/tkGrid.c: Removed a lingering error message from
+ TIP#147 implementation.
+
2006-01-10 Daniel Steffen <das@users.sourceforge.net>
* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function
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".
*/