Mercurial > emacs
changeset 8301:c01188c50e70
(direct_output_for_insert): Dpn't call compute_char_face
for a non-X frame.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 20 Jul 1994 19:35:41 +0000 |
parents | 95b09cdfc59d |
children | 4e5626d0b962 |
files | src/dispnew.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Wed Jul 20 19:32:24 1994 +0000 +++ b/src/dispnew.c Wed Jul 20 19:35:41 1994 +0000 @@ -1085,9 +1085,12 @@ return 0; { + int face = 0; #ifdef HAVE_X_WINDOWS int dummy; - int face = compute_char_face (frame, w, point - 1, -1, -1, &dummy, point); + + if (FRAME_X_P (frame)) + face = compute_char_face (frame, w, point - 1, -1, -1, &dummy, point); #endif current_frame->glyphs[vpos][hpos] = MAKE_GLYPH (frame, g, face); current_frame->charstarts[vpos][hpos] = point - 1;