memset(&blank, ' ', sizeof(blank));
wmove(sw, 0, 0);
- WSETCOLOR(sw, MT_COLOR_STATUS);
+ SETCOLOR(sw, MT_COLOR_STATUS);
waddnstr(sw, blank, x);
line = 1;
BUFFY *tmp = Incoming.arr[i];
if (i == CurBuffy)
- WSETCOLOR(sw, MT_COLOR_INDICATOR);
+ SETCOLOR(sw, MT_COLOR_INDICATOR);
else if (tmp->new > 0)
- WSETCOLOR(sw, MT_COLOR_NEW);
+ SETCOLOR(sw, MT_COLOR_NEW);
else if (tmp->msg_flagged > 0)
- WSETCOLOR(sw, MT_COLOR_FLAGGED);
+ SETCOLOR(sw, MT_COLOR_FLAGGED);
else
- WSETCOLOR(sw, MT_COLOR_NORMAL);
+ SETCOLOR(sw, MT_COLOR_NORMAL);
if (make_sidebar_entry(sw, tmp->path, i, x - 1)) {
- WSETCOLOR(sw, MT_COLOR_SIDEBAR);
+ SETCOLOR(sw, MT_COLOR_SIDEBAR);
waddch(sw, ACS_VLINE);
line++;
}
}
while (line < y - 1) {
- WSETCOLOR(sw, MT_COLOR_NORMAL);
+ SETCOLOR(sw, MT_COLOR_NORMAL);
waddnstr(sw, blank, x - 1);
- WSETCOLOR(sw, MT_COLOR_SIDEBAR);
+ SETCOLOR(sw, MT_COLOR_SIDEBAR);
waddch(sw, ACS_VLINE);
line++;
}
- WSETCOLOR(sw, MT_COLOR_STATUS);
+ SETCOLOR(sw, MT_COLOR_STATUS);
waddnstr(sw, blank, x);
- WSETCOLOR(sw, MT_COLOR_NORMAL);
+ SETCOLOR(sw, MT_COLOR_NORMAL);
return 0;
}