]> git.eshelyaron.com Git - emacs.git/commitdiff
(term_init) [WINDOWSNT]: Initialize TN_max_colors.
authorJason Rumney <jasonr@gnu.org>
Sun, 30 Jan 2000 18:55:00 +0000 (18:55 +0000)
committerJason Rumney <jasonr@gnu.org>
Sun, 30 Jan 2000 18:55:00 +0000 (18:55 +0000)
src/term.c

index b19e9623b57dc2eb11f760a12e32179b4f8f8855..91cd9ed31991d0afcfa8e07869e15c9d45fcb0fb 100644 (file)
@@ -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 */