mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
logger: printf \n even when colors disabled
This commit is contained in:
parent
4873dbcf8e
commit
da5c43fb33
1 changed files with 1 additions and 2 deletions
|
|
@ -114,8 +114,7 @@ impl_log_logv(void *object,
|
|||
size += snprintf(p + size, len - size, " ");
|
||||
size += vsnprintf(p + size, len - size, fmt, args);
|
||||
|
||||
if (impl->colors)
|
||||
size += snprintf(p + size, len - size, "%s\n", suffix);
|
||||
size += snprintf(p + size, len - size, "%s\n", impl->colors ? suffix : "");
|
||||
|
||||
if (SPA_UNLIKELY(do_trace)) {
|
||||
uint32_t index;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue