From ac1a21e488f1c6fb4963b40e0ea2da3d523c45ba Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Apr 2014 20:37:15 +0200 Subject: [PATCH] terminal: fix printing of prefix This was subtly change in 5cfb18. Revert the change. --- common/msg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/msg.c b/common/msg.c index 2caa048e40..0b61234bea 100644 --- a/common/msg.c +++ b/common/msg.c @@ -273,10 +273,11 @@ static void print_msg_on_terminal(struct mp_log *log, int lev, char *text) fprintf(stream, "[%" PRId64 "] ", mp_time_us()); if (prefix) { - if (root->module) + if (root->module) { pretty_print_module(stream, prefix, root->color, lev); - else if (root->verbose) + } else { fprintf(stream, "[%s] ", prefix); + } } }