Mercurial > emacs
diff src/fontset.c @ 91041:bdb3fe0ba9fa
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 866-879)
- Merge multi-tty branch
- Update from CVS
- Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 11 Oct 2007 16:22:07 +0000 |
parents | 424b655804ca 5b644ae74c91 |
children | 35069180a991 |
line wrap: on
line diff
--- a/src/fontset.c Thu Oct 11 16:14:00 2007 +0000 +++ b/src/fontset.c Thu Oct 11 16:22:07 2007 +0000 @@ -55,6 +55,7 @@ #ifdef MAC_OS #include "macterm.h" #endif +#include "termhooks.h" #ifdef USE_FONT_BACKEND #include "font.h" @@ -2144,7 +2145,7 @@ return (Fcons (AREF (rfont_def, 3), Qnil)); STORE_XCHAR2B (&char2b, ((code >> 8) & 0xFF), (code & 0xFF)); fontp = (*get_font_info_func) (f, XINT (AREF (rfont_def, 1))); - rif->encode_char (c, &char2b, fontp, charset, NULL); + FRAME_RIF (f)->encode_char (c, &char2b, fontp, charset, NULL); code = (XCHAR2B_BYTE1 (&char2b) << 8) | XCHAR2B_BYTE2 (&char2b); return (Fcons (AREF (rfont_def, 3), make_number (code))); }