summaryrefslogtreecommitdiff
path: root/src/fontset.h
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-03-18 23:31:34 +0000
committerKenichi Handa <handa@m17n.org>1997-03-18 23:31:34 +0000
commit467e7675540bdf5f21379a0ee5d7f92627e3ead3 (patch)
treef3ac95a241bea13cfbcd2bb95e4a55deffc4deff /src/fontset.h
parent1df19f02032a543c303bb21982ebd2a1278677ff (diff)
downloademacs-467e7675540bdf5f21379a0ee5d7f92627e3ead3.tar.gz
Adjusted for the change of MAX_CHARSET.
Diffstat (limited to 'src/fontset.h')
-rw-r--r--src/fontset.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fontset.h b/src/fontset.h
index ecdc1a7f0a0..54b9999ffe4 100644
--- a/src/fontset.h
+++ b/src/fontset.h
@@ -71,7 +71,7 @@ struct font_info
whose default value is defined in lisp/fontset.el. Since there's
no charset whose id is 1, we use encoding[1] to store the
encoding information decided by the font itself. */
- char encoding[MAX_CHARSET];
+ char encoding[MAX_CHARSET + 1];
/* The baseline position of a font is normally `ascent' value of the
font. However, there exists many fonts which don't set `ascent'
@@ -114,7 +114,7 @@ struct font_info
height). In this case, the character is drawn beneath the
previous glyphs.
- This value is take from a private font property
+ This value is taken from a private font property
`_MULE_RELATIVE_COMPOSE' which is introduced by Emacs. */
int relative_compose;
@@ -142,12 +142,12 @@ struct fontset_info
int height;
/* Table of font name for each character set. */
- char *fontname[MAX_CHARSET];
+ char *fontname[MAX_CHARSET + 1];
/* Table of index numbers of fonts indexed by charset. If a font is
not yet loaded, the value is -1 (FONT_NOT_OPENED). If font
loading is failed, the value is -2 (FONT_NOT_FOUND). */
- int font_indexes[MAX_CHARSET];
+ int font_indexes[MAX_CHARSET + 1];
};
/* This data type is used for the fontset_data field of struct frame. */