summaryrefslogtreecommitdiff
path: root/tk/unix/tkUnixInit.c
diff options
context:
space:
mode:
authorIan Roxborough <irox@redhat.com>2001-09-10 00:22:29 +0000
committerIan Roxborough <irox@redhat.com>2001-09-10 00:22:29 +0000
commitee7709783c85577eba6af30cd711e17e403befed (patch)
tree74233a880ee1f7e13c7ded61d093318e8c6e7d5c /tk/unix/tkUnixInit.c
parenta850c17c374d03259483e799b09326d255e17487 (diff)
downloadgdb-TK_8_3.tar.gz
Tk 8.3 upgradeTK_8_3
Diffstat (limited to 'tk/unix/tkUnixInit.c')
-rw-r--r--tk/unix/tkUnixInit.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/tk/unix/tkUnixInit.c b/tk/unix/tkUnixInit.c
index a566f0fba1b..7f3a4b0fe5a 100644
--- a/tk/unix/tkUnixInit.c
+++ b/tk/unix/tkUnixInit.c
@@ -32,7 +32,7 @@
*
* Results:
* Returns a standard Tcl result. Leaves an error message or result
- * in interp->result.
+ * in the interp's result.
*
* Side effects:
* Sets "tk_library" Tcl variable, runs "tk.tcl" script.
@@ -109,9 +109,10 @@ TkpDisplayWarning(msg, title)
{
Tcl_Channel errChannel = Tcl_GetStdChannel(TCL_STDERR);
if (errChannel) {
- Tcl_Write(errChannel, title, -1);
- Tcl_Write(errChannel, ": ", 2);
- Tcl_Write(errChannel, msg, -1);
- Tcl_Write(errChannel, "\n", 1);
+ Tcl_WriteChars(errChannel, title, -1);
+ Tcl_WriteChars(errChannel, ": ", 2);
+ Tcl_WriteChars(errChannel, msg, -1);
+ Tcl_WriteChars(errChannel, "\n", 1);
}
}
+