summaryrefslogtreecommitdiffstats
path: root/generic/tkGrid.c
diff options
context:
space:
mode:
authorpspjuth <peter.spjuth@gmail.com>2001-08-18 20:03:16 (GMT)
committerpspjuth <peter.spjuth@gmail.com>2001-08-18 20:03:16 (GMT)
commit7f3008ca65c1e1b6e1b5079bd1eb28794c9e02fb (patch)
tree08d8c782e9942c3828ce6daa40ba7de28cc34139 /generic/tkGrid.c
parentdecd44ff326c34186124c351c78af7dbb0bfd925 (diff)
downloadtk-7f3008ca65c1e1b6e1b5079bd1eb28794c9e02fb.zip
tk-7f3008ca65c1e1b6e1b5079bd1eb28794c9e02fb.tar.gz
tk-7f3008ca65c1e1b6e1b5079bd1eb28794c9e02fb.tar.bz2
Grid configure rejected initial "x" and "^". [Bug #418664]
Diffstat (limited to 'generic/tkGrid.c')
-rw-r--r--generic/tkGrid.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkGrid.c b/generic/tkGrid.c
index 0d176f5..6685f53 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.11 2001/02/12 18:06:47 drh Exp $
+ * RCS: @(#) $Id: tkGrid.c,v 1.12 2001/08/18 20:03:16 pspjuth Exp $
*/
#include "tkInt.h"
@@ -328,7 +328,8 @@ Tk_GridCmd(clientData, interp, argc, argv)
return GridBboxCommand(tkwin, interp, argc, argv);
} else if ((c == 'c') && (strncmp(argv[1], "configure", length) == 0)) {
- if (argv[2][0] != '.') {
+ if ((argv[2][0] != '.') && (argv[2][0] != REL_SKIP) &&
+ (argv[2][0] != REL_VERT)) {
Tcl_AppendResult(interp, "bad argument \"", argv[2],
"\": must be name of window", (char *) NULL);
return TCL_ERROR;