| # | Line 216 | Line 216 | static | |
|---|---|---|
| 216 | x_comout(out) /* output a string to command line */ | |
| 217 | char *out; | |
| 218 | { | |
| 219 | < | if (comline != NULL) |
| 220 | < | xt_puts(out, comline); |
| 221 | < | XFlush(); |
| 219 | > | if (comline == NULL) |
| 220 | > | return; |
| 221 | > | xt_puts(out, comline); |
| 222 | > | if (out[strlen(out)-1] == '\n') |
| 223 | > | XFlush(); |
| 224 | } | |
| 225 | ||
| 226 | ||
| # | Line 226 | Line 228 | static | |
| 228 | x_errout(msg) /* output an error message */ | |
| 229 | char *msg; | |
| 230 | { | |
| 229 | – | x_comout(msg); |
| 231 | stderr_v(msg); /* send to stderr also! */ | |
| 232 | + | x_comout(msg); |
| 233 | } | |
| 234 | ||
| 235 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |