summaryrefslogtreecommitdiffstats
path: root/curs_main.c
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2012-12-30 18:49:20 -0800
committerMichael Elkins <me@sigpipe.org>2012-12-30 18:49:20 -0800
commit66eeb0a2dc338663406f782bdb2b276da0b16a29 (patch)
treef1dea37943db83a7aeedd80d896246b85b2ac8d1 /curs_main.c
parent1d51d39e1e7a698cad0394094a203cbb6a590375 (diff)
make the SETCOLOR() macro use bkgdset() on systems which have it, and attrset() when we don't.
closes #3005
Diffstat (limited to 'curs_main.c')
-rw-r--r--curs_main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/curs_main.c b/curs_main.c
index 302082b4..b9e34bd5 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -555,12 +555,10 @@ int mutt_index_menu (void)
if (menu->redraw & REDRAW_STATUS)
{
menu_status_line (buf, sizeof (buf), menu, NONULL (Status));
- CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES-2);
+ move (option (OPTSTATUSONTOP) ? 0 : LINES-2, 0);
SETCOLOR (MT_COLOR_STATUS);
- BKGDSET (MT_COLOR_STATUS);
mutt_paddstr (COLS, buf);
- SETCOLOR (MT_COLOR_NORMAL);
- BKGDSET (MT_COLOR_NORMAL);
+ NORMAL_COLOR;
menu->redraw &= ~REDRAW_STATUS;
}