| # | Line 252 | Line 252 | static | |
|---|---|---|
| 252 | x11_comout(out) /* output a string to command line */ | |
| 253 | char *out; | |
| 254 | { | |
| 255 | < | if (comline != NULL) |
| 256 | < | xt_puts(out, comline); |
| 255 | > | if (comline == NULL) |
| 256 | > | return; |
| 257 | > | xt_puts(out, comline); |
| 258 | > | if (out[strlen(out)-1] == '\n') |
| 259 | > | XFlush(ourdisplay); |
| 260 | } | |
| 261 | ||
| 262 | ||
| # | Line 263 | Line 266 | char *msg; | |
| 266 | { | |
| 267 | stderr_v(msg); /* send to stderr also! */ | |
| 268 | x11_comout(msg); | |
| 266 | – | x11_flush(); |
| 269 | } | |
| 270 | ||
| 271 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |