Curses: fix pile hilite background color
The curses colorpair rework I did changed the pile hilite background color from blue to red. Change it back to blue, and use a function to get the color pair instead of hardcoding the value.
This commit is contained in:
@@ -954,7 +954,7 @@ curses_print_glyph(
|
||||
*/
|
||||
if ((special & MG_OBJPILE) && iflags.hilite_pile) {
|
||||
if (iflags.wc_color)
|
||||
color = 16 + (color * 2) + 1;
|
||||
color = get_framecolor(color, CLR_BLUE);
|
||||
else /* if (iflags.use_inverse) */
|
||||
attr = A_REVERSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user