aboutsummaryrefslogtreecommitdiffstats
path: root/src/fringe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fringe.c')
-rw-r--r--src/fringe.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fringe.c b/src/fringe.c
index 9e1d7003d4f..b2cff34ba57 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -576,11 +576,10 @@ draw_fringe_bitmap_1 (struct window *w, struct glyph_row *row, int left_p, int o
576 576
577 if (face_id == DEFAULT_FACE_ID) 577 if (face_id == DEFAULT_FACE_ID)
578 { 578 {
579 Lisp_Object face; 579 Lisp_Object face = fringe_faces[which];
580 580 face_id = NILP (face) ? lookup_named_face (f, Qfringe, 0)
581 if ((face = fringe_faces[which], NILP (face)) 581 : lookup_derived_face (f, face, FRINGE_FACE_ID, 0);
582 || (face_id = lookup_derived_face (f, face, FRINGE_FACE_ID, 0), 582 if (face_id < 0)
583 face_id < 0))
584 face_id = FRINGE_FACE_ID; 583 face_id = FRINGE_FACE_ID;
585 } 584 }
586 585