changeset 3165:6b47ab3b2a88

(display_text_line): Don't call compute_char_face for a non-X frame.
author Richard M. Stallman <rms@gnu.org>
date Thu, 27 May 1993 03:56:12 +0000
parents 40590cba332a
children 419d3bf1cb2b
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Thu May 27 03:46:21 1993 +0000
+++ b/src/xdisp.c	Thu May 27 03:56:12 1993 +0000
@@ -1790,7 +1790,7 @@
 	  /* Did we hit a face change?  Figure out what face we should
 	     use now.  We also hit this the first time through the
 	     loop, to see what face we should start with.  */
-	  if (pos == next_face_change)
+	  if (pos == next_face_change && FRAME_X_P (f))
 	    current_face = compute_char_face (f, w, pos,
 					      region_beg, region_end,
 					      &next_face_change);