diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2000-11-28 11:16:04 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2000-11-28 11:16:04 (GMT) |
commit | acb8bad2a503f787e130e74d4008ea53377c4529 (patch) | |
tree | 7a69bbd3f26c269aeedb413f8666bcf91b99012c /generic/tkImage.c | |
parent | 13ed853940da21ecb795684004b4ea8ffab55579 (diff) | |
download | tk-acb8bad2a503f787e130e74d4008ea53377c4529.zip tk-acb8bad2a503f787e130e74d4008ea53377c4529.tar.gz tk-acb8bad2a503f787e130e74d4008ea53377c4529.tar.bz2 |
Backed out previous change (except for test for bug.)
Diffstat (limited to 'generic/tkImage.c')
-rw-r--r-- | generic/tkImage.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/generic/tkImage.c b/generic/tkImage.c index 2ebb5de..7952108 100644 --- a/generic/tkImage.c +++ b/generic/tkImage.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkImage.c,v 1.8 2000/11/23 13:50:11 dkf Exp $ + * RCS: @(#) $Id: tkImage.c,v 1.9 2000/11/28 11:16:04 dkf Exp $ */ #include "tkInt.h" @@ -232,18 +232,6 @@ Tk_ImageObjCmd(clientData, interp, objc, objv) sprintf(idString, "image%d", dispPtr->imageId); name = idString; firstOption = 3; - } else if (arg[0] == '.') { - /* - * It is a really bad idea to create an image with the - * same name as the root window, and who knows what - * will happen if any other (potential) window name is - * used. So it's prohibited for safety, so stopping - * bug #120819 - */ - Tcl_AppendResult(interp, "image names cannot start with " - "period symbols: \"", arg, "\" is illegal", - (char *)NULL); - return TCL_ERROR; } else { name = arg; firstOption = 4; |