diff options
author | nijtmans <nijtmans@noemail.net> | 2008-12-12 00:09:37 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2008-12-12 00:09:37 (GMT) |
commit | 70a78cab16bba9fd161159d5243c8f25054cd6c4 (patch) | |
tree | e59ddae166470723e42e90450559f77303457f15 /generic | |
parent | 3408d96bb9931ec31e4fd15a419d90da6ef0d88b (diff) | |
download | tk-70a78cab16bba9fd161159d5243c8f25054cd6c4.zip tk-70a78cab16bba9fd161159d5243c8f25054cd6c4.tar.gz tk-70a78cab16bba9fd161159d5243c8f25054cd6c4.tar.bz2 |
Make error message from Tk_GetRelief the
same as for Tk_GetReliefFromObj
Adapt test cases for changed error message
FossilOrigin-Name: ba87777f27ff225c7afde699eb98f2acea9c2616
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tk3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tk3d.c b/generic/tk3d.c index e247619..daa4fcb 100644 --- a/generic/tk3d.c +++ b/generic/tk3d.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tk3d.c,v 1.23 2008/11/26 15:57:24 dkf Exp $ + * RCS: @(#) $Id: tk3d.c,v 1.24 2008/12/12 00:09:37 nijtmans Exp $ */ #include "tkInt.h" @@ -670,7 +670,7 @@ Tk_GetRelief( } else { char buf[200]; - sprintf(buf, "bad relief type \"%.50s\": must be %s", + sprintf(buf, "bad relief \"%.50s\": must be %s", name, "flat, groove, raised, ridge, solid, or sunken"); Tcl_SetResult(interp, buf, TCL_VOLATILE); return TCL_ERROR; |