summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mp_msg.c b/mp_msg.c
index a5405c59f4..8d93c68c6e 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -238,5 +238,7 @@ void mp_msg(int mod, int lev, const char *format, ... ){
header = tmp[strlen(tmp)-1] == '\n' || tmp[strlen(tmp)-1] == '\r';
fprintf(stream, "%s", tmp);
+ if (mp_msg_color)
+ fprintf(stream, "\033[0m");
fflush(stream);
}