mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix newline in warning_printf()
This commit is contained in:
parent
cd1e6529db
commit
4b928a54b2
1 changed files with 2 additions and 0 deletions
|
|
@ -60,6 +60,8 @@ extern char ansi_format[];
|
||||||
|
|
||||||
#define warning_printf(format, args...) \
|
#define warning_printf(format, args...) \
|
||||||
{ \
|
{ \
|
||||||
|
if (print_tainted) \
|
||||||
|
putchar('\n'); \
|
||||||
if (option.color < 0) \
|
if (option.color < 0) \
|
||||||
fprintf (stdout, "\r[%s] Warning: " format "\r\n", current_time(), ## args); \
|
fprintf (stdout, "\r[%s] Warning: " format "\r\n", current_time(), ## args); \
|
||||||
else \
|
else \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue