Skip to content

Commit

Permalink
msg: don't prefix slave-mode stuff by default
Browse files Browse the repository at this point in the history
  • Loading branch information
wm4 committed Dec 21, 2013
1 parent 8e75cc3 commit 678ce04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void mp_msg_va(struct mp_log *log, int lev, const char *format, va_list va)

set_msg_color(stream, lev);
if (header) {
if (lev >= MSGL_V || verbose || mp_msg_module) {
if ((lev >= MSGL_V && lev != MSGL_SMODE) || verbose || mp_msg_module) {
fprintf(stream, "[%s] ", log->verbose_prefix);
} else if (log->prefix) {
fprintf(stream, "[%s] ", log->prefix);
Expand Down

0 comments on commit 678ce04

Please sign in to comment.