From acfcd5cdf125bca6bc4a1ee716ba28e6d9414913 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sun, 30 Jan 2000 18:55:00 +0000 Subject: [PATCH] (term_init) [WINDOWSNT]: Initialize TN_max_colors. --- src/term.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/term.c b/src/term.c index b19e9623b57..91cd9ed3199 100644 --- a/src/term.c +++ b/src/term.c @@ -2115,6 +2115,7 @@ term_init (terminal_type) FRAME_CAN_HAVE_SCROLL_BARS (sf) = 0; FRAME_VERTICAL_SCROLL_BAR_TYPE (sf) = vertical_scroll_bar_none; + TN_max_colors = 16; /* Required to be non-zero for tty-display-color-p */ return; #else /* not WINDOWSNT */ -- 2.39.5