aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney <[email protected]>2000-01-30 18:55:00 +0000
committerJason Rumney <[email protected]>2000-01-30 18:55:00 +0000
commitacfcd5cdf125bca6bc4a1ee716ba28e6d9414913 (patch)
treec5b3f6cfde72a371f4ab75cf33ea5ab74e613a49 /src
parent338b1bb23dc6c3a2f07927842cc70a15e2e3dcfb (diff)
(term_init) [WINDOWSNT]: Initialize TN_max_colors.
Diffstat (limited to 'src')
-rw-r--r--src/term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index b19e9623b5..91cd9ed319 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 */