From: PatR Date: Sun, 6 Jun 2021 22:23:39 +0000 (-0700) Subject: curses color cleanup X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14b2330fd67f263a4413df785a1d23fa6004d9ba;p=nethack curses color cleanup The color handling changes for curses left a set of variables unused, so get rid of them. --- diff --git a/win/curses/cursinit.c b/win/curses/cursinit.c index 43324b724..1840836c4 100644 --- a/win/curses/cursinit.c +++ b/win/curses/cursinit.c @@ -18,24 +18,13 @@ static void set_window_position(int *, int *, int *, int *, int, int *, int *, int *, int *, int, int, int); -/* array to save initial terminal colors for later restoration */ - +#if 0 /* no longer used */ typedef struct nhrgb_type { short r; short g; short b; } nhrgb; - -nhrgb orig_yellow; -nhrgb orig_white; -nhrgb orig_darkgray; -nhrgb orig_hired; -nhrgb orig_higreen; -nhrgb orig_hiyellow; -nhrgb orig_hiblue; -nhrgb orig_himagenta; -nhrgb orig_hicyan; -nhrgb orig_hiwhite; +#endif /* Banners used for an optional ASCII splash screen */