Permalink
Browse files

terminal: remove separate formatting for --msgmodule

Instead, --msgmodule uses the same formatting as -v.
  • Loading branch information...
wm4
wm4 committed Dec 18, 2013
1 parent 4d4b822 commit 78292058ccf3fb827c9acc8ab3f616fa78a7a1e5
Showing with 1 addition and 4 deletions.
  1. +1 −4 common/msg.c
View
@@ -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);

0 comments on commit 7829205

Please sign in to comment.