1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-04 22:50:59 -08:00

(direct_output_for_insert): Dpn't call compute_char_face

for a non-X frame.
This commit is contained in:
Richard M. Stallman 1994-07-20 19:35:41 +00:00
parent 821188d396
commit 19dff8dc59

View file

@ -1085,9 +1085,12 @@ direct_output_for_insert (g)
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;