From 56f3ef7b5ed2e47c85313105e109e8a9ad313f83 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Mon, 31 Dec 2012 14:52:22 -0800 Subject: [PATCH] reset to color normal before clearing to end of line when printing a message/error string closes #3617 --- curs_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curs_lib.c b/curs_lib.c index 24af11fe..8b11bba2 100644 --- a/curs_lib.c +++ b/curs_lib.c @@ -320,8 +320,8 @@ static void curses_message (int error, const char *fmt, va_list ap) BEEP (); SETCOLOR (error ? MT_COLOR_ERROR : MT_COLOR_MESSAGE); mvaddstr (LINES-1, 0, Errorbuf); - clrtoeol (); NORMAL_COLOR; + clrtoeol (); mutt_refresh (); } @@ -465,8 +465,8 @@ void mutt_show_error (void) SETCOLOR (option (OPTMSGERR) ? MT_COLOR_ERROR : MT_COLOR_MESSAGE); mvaddstr(LINES-1, 0, Errorbuf); - clrtoeol(); NORMAL_COLOR; + clrtoeol(); } void mutt_endwin (const char *msg) -- 2.50.1