diff options
author | wm4 <wm4@nowhere> | 2013-12-18 15:13:38 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-20 21:07:57 +0100 |
commit | 78292058ccf3fb827c9acc8ab3f616fa78a7a1e5 (patch) | |
tree | ba9b32c3115d75487f8ec06356724fb96425bc63 /common | |
parent | 4d4b82217126de3160299b3aefba1f6941623d30 (diff) | |
download | mpv-78292058ccf3fb827c9acc8ab3f616fa78a7a1e5.tar.bz2 mpv-78292058ccf3fb827c9acc8ab3f616fa78a7a1e5.tar.xz |
terminal: remove separate formatting for --msgmodule
Instead, --msgmodule uses the same formatting as -v.
Diffstat (limited to 'common')
-rw-r--r-- | common/msg.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/msg.c b/common/msg.c index c88be847e5..49a94ba7b5 100644 --- a/common/msg.c +++ b/common/msg.c @@ -124,10 +124,7 @@ static void mp_msg_log_va(struct mp_log *log, int lev, const char *format, set_msg_color(stream, lev); if (header) { - if (mp_msg_module) { - fprintf(stream, "%9s", log->verbose_prefix); - fprintf(stream, ": "); - } else if (lev >= MSGL_V || verbose) { + if (lev >= MSGL_V || verbose || mp_msg_module) { fprintf(stream, "[%s] ", log->verbose_prefix); } else if (log->prefix) { fprintf(stream, "[%s] ", log->prefix); |