| Description: |
If I try to start a C application which makes use of
Tk, and
DISPLAY is not set, tk/generic/tkWindow.c's
Tk_MainWindow() routine appears to output this message:
this isn't a Tk applicationcouldn't connect to display ":0"
There appears to be a missing newline - and it might
not hurt to capitalize "this" and "couldn't" .
I just saw this in Tk 8.4.2 - but I suspect it has been
there for quite some time.
|
| User Comments: |
dkf added on 2005-01-07 18:17:46:
Logged In: YES
user_id=79902
There was a missing Tcl_ResetResult in GetScreen() in
tkWindow.c, so an old error message (which was effectively
saying that Tk hadn't yet been successfully started, which
is to be expected when Tk is still loading of course!)
wasn't cleared out properly.
Fixed in 8.4 branch and HEAD.
|