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:
@@ -727,7 +727,8 @@ is_main_window(winid wid)
|
||||
/* Unconditionally write a single character to a window at the given
|
||||
coordinates without a refresh. Currently only used for the map. */
|
||||
|
||||
static int
|
||||
/* convert nhcolor (fg) and framecolor (bg) to curses colorpair */
|
||||
int
|
||||
get_framecolor(int nhcolor, int framecolor)
|
||||
{
|
||||
/* curses_toggle_color_attr() adds the +1 and takes care of COLORS < 16 */
|
||||
|
||||
Reference in New Issue
Block a user