diff options
author | wm4 <wm4@nowhere> | 2014-04-23 20:37:15 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-23 21:16:50 +0200 |
commit | ac1a21e488f1c6fb4963b40e0ea2da3d523c45ba (patch) | |
tree | c5685a6dd8ebc8413e8fee75bddeac0de81aee91 /common/msg.c | |
parent | 8a74638dc743007f6d5d6bb3a672167fce353480 (diff) | |
download | mpv-ac1a21e488f1c6fb4963b40e0ea2da3d523c45ba.tar.bz2 mpv-ac1a21e488f1c6fb4963b40e0ea2da3d523c45ba.tar.xz |
terminal: fix printing of prefix
This was subtly change in 5cfb18. Revert the change.
Diffstat (limited to 'common/msg.c')
-rw-r--r-- | common/msg.c | 5 |
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); + } } } |