diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-05-23 17:27:55 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-05-23 17:27:55 (GMT) |
commit | fc07382fecf576d43fc28117ca52416170fb0f4f (patch) | |
tree | fb80854fc96c95573461488da3319c126bf64c64 /generic | |
parent | dab160fbdc9b066d0272a43553b7e476c6e2f3d1 (diff) | |
download | tk-fc07382fecf576d43fc28117ca52416170fb0f4f.zip tk-fc07382fecf576d43fc28117ca52416170fb0f4f.tar.gz tk-fc07382fecf576d43fc28117ca52416170fb0f4f.tar.bz2 |
Minor fix for Tk_GetVisual error message
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkVisual.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkVisual.c b/generic/tkVisual.c index d7e85b4..9f81693 100644 --- a/generic/tkVisual.c +++ b/generic/tkVisual.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: tkVisual.c,v 1.5 2004/01/13 02:06:01 davygrvy Exp $ + * RCS: @(#) $Id: tkVisual.c,v 1.6 2004/05/23 17:27:55 dkf Exp $ */ #include "tkInt.h" @@ -175,12 +175,12 @@ Tk_GetVisual(interp, tkwin, string, depthPtr, colormapPtr) int visualId; /* - * This is a visual ID. - */ + * This is a visual ID. + */ if (Tcl_GetInt(interp, string, &visualId) == TCL_ERROR) { Tcl_ResetResult(interp); - Tcl_AppendResult(interp, "bad X identifier for visual: ", + Tcl_AppendResult(interp, "bad X identifier for visual: \"", string, "\"", (char *) NULL); return NULL; } |