summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-12-12 00:09:37 (GMT)
committernijtmans <nijtmans>2008-12-12 00:09:37 (GMT)
commit3f909f2ee775076c14b45580c9547c369524ac42 (patch)
treee59ddae166470723e42e90450559f77303457f15 /generic
parentb7903758175d813d8c358619a9a2abfc62bff168 (diff)
downloadtk-3f909f2ee775076c14b45580c9547c369524ac42.zip
tk-3f909f2ee775076c14b45580c9547c369524ac42.tar.gz
tk-3f909f2ee775076c14b45580c9547c369524ac42.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')
-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;