Mercurial > emacs
changeset 90454:a8b745412821
(xfont_open, xfont_encode_char): Fix typo.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 14 Jun 2006 04:19:13 +0000 |
parents | 3a78ea4d2a53 |
children | 36f59f74454a |
files | src/xfont.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfont.c Wed Jun 14 04:17:54 2006 +0000 +++ b/src/xfont.c Wed Jun 14 04:19:13 2006 +0000 @@ -578,7 +578,7 @@ bcopy (name, font->font.name, len + 1); font->font.charset = encoding->id; font->encoding_charset = encoding->id; - font->repertory_charet = repertory ? repertory->id : -1; + font->repertory_charset = repertory ? repertory->id : -1; font->ascent = xfont->ascent; font->descent = xfont->descent; @@ -772,9 +772,9 @@ code = ENCODE_CHAR (charset, c); if (code == CHARSET_INVALID_CODE (charset)) return 0xFFFFFFFF; - if (font->repertory_charet >= 0) + if (font->repertory_charset >= 0) { - charset = CHARSET_FROM_ID (font->repertory_charet); + charset = CHARSET_FROM_ID (font->repertory_charset); return (ENCODE_CHAR (charset, c) != CHARSET_INVALID_CODE (charset) ? code : 0xFFFFFFFF); }