mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-24 20:00:20 +00:00
terminal: fix printing of prefix
This was subtly change in 5cfb18. Revert the change.
This commit is contained in:
@@ -273,10 +273,11 @@ static void print_msg_on_terminal(struct mp_log *log, int lev, char *text)
|
|||||||
fprintf(stream, "[%" PRId64 "] ", mp_time_us());
|
fprintf(stream, "[%" PRId64 "] ", mp_time_us());
|
||||||
|
|
||||||
if (prefix) {
|
if (prefix) {
|
||||||
if (root->module)
|
if (root->module) {
|
||||||
pretty_print_module(stream, prefix, root->color, lev);
|
pretty_print_module(stream, prefix, root->color, lev);
|
||||||
else if (root->verbose)
|
} else {
|
||||||
fprintf(stream, "[%s] ", prefix);
|
fprintf(stream, "[%s] ", prefix);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user