summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/msg.c5
1 files 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);
+ }
}
}