comparison src/xdisp.c @ 91044:762f55e106a2

xdisp.c (get_char_face_and_encoding): Add extra args to FACE_FOR_CHAR. Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-260
author Miles Bader <miles@gnu.org>
date Fri, 12 Oct 2007 01:09:38 +0000
parents 3807f7a342ae
children 35069180a991
comparison
equal deleted inserted replaced
91043:3807f7a342ae 91044:762f55e106a2
19560 if (!multibyte_p) 19560 if (!multibyte_p)
19561 { 19561 {
19562 /* Unibyte case. We don't have to encode, but we have to make 19562 /* Unibyte case. We don't have to encode, but we have to make
19563 sure to use a face suitable for unibyte. */ 19563 sure to use a face suitable for unibyte. */
19564 STORE_XCHAR2B (char2b, 0, c); 19564 STORE_XCHAR2B (char2b, 0, c);
19565 face_id = FACE_FOR_CHAR (f, face, c); 19565 face_id = FACE_FOR_CHAR (f, face, c, -1, Qnil);
19566 face = FACE_FROM_ID (f, face_id); 19566 face = FACE_FROM_ID (f, face_id);
19567 } 19567 }
19568 else if (c < 128) 19568 else if (c < 128)
19569 { 19569 {
19570 /* Case of ASCII in a face known to fit ASCII. */ 19570 /* Case of ASCII in a face known to fit ASCII. */