diff options
author | Michael Jennings <mej@kainx.org> | 2001-09-06 22:26:20 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2001-09-06 22:26:20 +0000 |
commit | 1d6dde2e154b21f4883ba2204318da705f5ca207 (patch) | |
tree | d1c249e9af86893cf6ad151c7d8172683860c278 | |
parent | e03f5ed13cbb21a7afa7486bec39f0dccb4c3cf2 (diff) | |
download | eterm-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
-rw-r--r-- | ChangeLog | 10 | ||||
-rw-r--r-- | src/font.c | 3 | ||||
-rw-r--r-- | src/font.h | 3 |
3 files changed, 14 insertions, 2 deletions
@@ -4376,3 +4376,13 @@ Tue Aug 28 00:30:55 2001 Michael Jennings (mej) Let's see if this fixes the PrintScreen problems.... ---------------------------------------------------------------------- +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. +---------------------------------------------------------------------- @@ -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]; @@ -73,7 +73,8 @@ typedef struct fontshadow_struct { } fontshadow_t; /************ Variables ************/ -extern unsigned char font_idx, def_font_idx, font_cnt, font_chg; +extern unsigned char font_idx, font_cnt, font_chg; +extern int def_font_idx; extern const char *def_fontName[]; extern char *rs_font[NFONTS]; extern char **etfonts, **etmfonts; |