forked from old/legacy-imlib2
test: Fix pr_info() when not printing to stdout
This commit is contained in:
parent
3a9084a7e9
commit
e9de0b1d38
|
@ -57,7 +57,7 @@ pr_info(const char *fmt, ...)
|
||||||
snprintf(fmtx, sizeof(fmtx), COL_YEL "[ ] - %s%s\n",
|
snprintf(fmtx, sizeof(fmtx), COL_YEL "[ ] - %s%s\n",
|
||||||
fmt, COL_RST);
|
fmt, COL_RST);
|
||||||
else
|
else
|
||||||
snprintf(fmtx, sizeof(fmtx), "[ ] - %s", fmt);
|
snprintf(fmtx, sizeof(fmtx), "[ ] - %s\n", fmt);
|
||||||
fmt = fmtx;
|
fmt = fmtx;
|
||||||
|
|
||||||
vprintf(fmt, args);
|
vprintf(fmt, args);
|
||||||
|
|
Loading…
Reference in New Issue