From 1d6dde2e154b21f4883ba2204318da705f5ca207 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Thu, 6 Sep 2001 22:26:20 +0000 Subject: Thu Sep 6 15:16:05 2001 Michael Jennings (mej) Argh. I hate finding stuff like this after a release. Luckily, it's not severe. It only occurs when --default-font-index is specified on the command line. Symptoms vary according to how the compiler arranges certain variables in memory. Thanks to Richard Lowe for reporting the problem. SVN revision: 5337 --- src/font.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/font.c') diff --git a/src/font.c b/src/font.c index 0ce0878..85ec255 100644 --- a/src/font.c +++ b/src/font.c @@ -41,7 +41,8 @@ static const char cvs_ident[] = "$Id$"; #include "windows.h" char **etfonts = NULL; -unsigned char font_idx = DEF_FONT_IDX, def_font_idx = DEF_FONT_IDX, font_cnt = 0; +unsigned char font_idx = DEF_FONT_IDX, font_cnt = 0; +int def_font_idx = DEF_FONT_IDX; char *rs_font[NFONTS]; #ifdef MULTI_CHARSET char *rs_mfont[NFONTS]; -- cgit v1.2.1