Mercurial > emacs
diff src/term.c @ 78560:44134c35ea57
Philippe Waroquiers <philippe.waroquiers at eurocontrol.int>
(tty_default_color_capabilities): Explicitly initialize static
variables in file scope, to avoid HPUX compiler problem.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 15 Aug 2007 03:18:18 +0000 |
parents | 922696f363b0 |
children | b6a121f8c4ff |
line wrap: on
line diff
--- a/src/term.c Wed Aug 15 03:11:58 2007 +0000 +++ b/src/term.c Wed Aug 15 03:18:18 2007 +0000 @@ -2169,15 +2169,19 @@ #ifndef WINDOWSNT +static int default_max_colors = 0; +static int default_max_pairs = 0; +static int default_no_color_video = 0; +static char *default_orig_pair = NULL; +static char *default_set_foreground = NULL; +static char *default_set_background = NULL; + /* Save or restore the default color-related capabilities of this terminal. */ static void tty_default_color_capabilities (save) int save; { - static char - *default_orig_pair, *default_set_foreground, *default_set_background; - static int default_max_colors, default_max_pairs, default_no_color_video; if (save) {