head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2007.11.04.14.10.36; author rse; state Exp; branches; next 1.1; commitid dVl3xSnZhQaWrgEs; 1.1 date 2007.09.06.14.53.50; author rse; state Exp; branches; next ; commitid okiOORf2v6AlAGws; desc @@ 1.2 log @upgrade patches @ text @Fix drawing of sidebar delimiter with the intended attributes of the "status" bar --rse 20070906 Index: sidebar.c --- sidebar.c.orig 2007-11-04 15:05:17 +0100 +++ sidebar.c 2007-11-04 15:05:17 +0100 @@@@ -186,23 +186,14 @@@@ return 0; } - /* get attributes for divider */ - SETCOLOR(MT_COLOR_STATUS); -#ifndef USE_SLANG_CURSES - attr_get(&attrs, &color_pair, 0); -#else - color_pair = attr_get(); -#endif - SETCOLOR(MT_COLOR_NORMAL); /* draw the divider */ for ( ; lines < LINES-1-(menu != MENU_PAGER || option(OPTSTATUSONTOP)); lines++ ) { + SETCOLOR(MT_COLOR_STATUS); move(lines, SidebarWidth - delim_len); addstr(NONULL(SidebarDelim)); -#ifndef USE_SLANG_CURSES - mvchgat(lines, SidebarWidth - delim_len, delim_len, 0, color_pair, NULL); -#endif + SETCOLOR(MT_COLOR_NORMAL); } if ( Incoming == 0 ) return 0; @ 1.1 log @Fix drawing of sidebar delimiter with the intended attributes of the status bar @ text @d5 2 a6 2 --- sidebar.c.orig 2007-09-06 16:47:29 +0200 +++ sidebar.c 2007-09-06 16:48:21 +0200 @