|
|
@@ -0,0 +1,32 @@
|
|
|
+Fix drawing of sidebar delimiter with the intended
|
|
|
+attributes of the "status" bar --rse 20070906
|
|
|
+
|
|
|
+Index: sidebar.c
|
|
|
+--- sidebar.c.orig 2007-09-06 16:47:29 +0200
|
|
|
++++ sidebar.c 2007-09-06 16:48:21 +0200
|
|
|
+@@ -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;
|