summaryrefslogtreecommitdiffstats
path: root/generic/tk3d.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-12-12 00:09:37 (GMT)
committernijtmans <nijtmans>2008-12-12 00:09:37 (GMT)
commit2938b5b731fa4f638db3103ddd1258e05ad2d572 (patch)
treee59ddae166470723e42e90450559f77303457f15 /generic/tk3d.c
parentac1ad56662a707052ab3fd1da432a6b94189e565 (diff)
downloadtk-2938b5b731fa4f638db3103ddd1258e05ad2d572.zip
tk-2938b5b731fa4f638db3103ddd1258e05ad2d572.tar.gz
tk-2938b5b731fa4f638db3103ddd1258e05ad2d572.tar.bz2
Make error message from Tk_GetRelief the
same as for Tk_GetReliefFromObj Adapt test cases for changed error message
Diffstat (limited to 'generic/tk3d.c')
-rw-r--r--generic/tk3d.c4
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;