changeset 2743:ddc49d5eee56

* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE macro here; that's x-specific. Just don't pass the second argument. * xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument; use F's default face.
author Jim Blandy <jimb@redhat.com>
date Tue, 11 May 1993 02:48:07 +0000
parents 7800e6a86421
children f4fc0c4c76f9
files src/xfaces.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfaces.c	Tue May 11 02:47:46 1993 +0000
+++ b/src/xfaces.c	Tue May 11 02:48:07 1993 +0000
@@ -732,14 +732,13 @@
    FACE_CODE as the face ID, assuming that ordinarily the face would
    be BASIC_FACE.  F is the frame.  */
 int
-compute_glyph_face (f, basic_face, face_code)
+compute_glyph_face (f, face_code)
      struct frame *f;
-     struct face *basic_face;
      int face_code;
 {
   struct face face;
 
-  bcopy (basic_face, &face, sizeof (struct face));
+  bcopy (FRAME_DEFAULT_FACE (f), &face, sizeof (face));
 
   if (face_code >= 0 && face_code < FRAME_N_FACES (f)
       && FRAME_FACES (f) [face_code] != 0)