diff options
author | Ian Roxborough <irox@redhat.com> | 2001-09-10 00:22:29 +0000 |
---|---|---|
committer | Ian Roxborough <irox@redhat.com> | 2001-09-10 00:22:29 +0000 |
commit | ee7709783c85577eba6af30cd711e17e403befed (patch) | |
tree | 74233a880ee1f7e13c7ded61d093318e8c6e7d5c /tk/unix/tkUnixInit.c | |
parent | a850c17c374d03259483e799b09326d255e17487 (diff) | |
download | gdb-TK_8_3.tar.gz |
Tk 8.3 upgradeTK_8_3
Diffstat (limited to 'tk/unix/tkUnixInit.c')
-rw-r--r-- | tk/unix/tkUnixInit.c | 11 |
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); } } + |