summaryrefslogtreecommitdiff
path: root/src/font.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2001-09-06 22:26:20 +0000
committerMichael Jennings <mej@kainx.org>2001-09-06 22:26:20 +0000
commit1d6dde2e154b21f4883ba2204318da705f5ca207 (patch)
treed1c249e9af86893cf6ad151c7d8172683860c278 /src/font.c
parente03f5ed13cbb21a7afa7486bec39f0dccb4c3cf2 (diff)
downloadeterm-1d6dde2e154b21f4883ba2204318da705f5ca207.tar.gz
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 <richlowe@richlowe.net> for reporting the problem. SVN revision: 5337
Diffstat (limited to 'src/font.c')
-rw-r--r--src/font.c3
1 files changed, 2 insertions, 1 deletions
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];