]> code.delx.au - gnu-emacs/blobdiff - src/xdisp.c
Fix flyspell highlighting
[gnu-emacs] / src / xdisp.c
index bec7339d064489b94d9cb2e5810ee3309d02ca33..e18af2fdf1d9ae12eed057b36bfd4608a9e995ce 100644 (file)
@@ -19635,8 +19635,8 @@ extend_face_to_end_of_line (struct it *it)
      to the end of the line.  If the background equals the background
      of the frame, we don't have to do anything.  */
   face = FACE_OPT_FROM_ID (f, (it->face_before_selective_p
-                              ? it->face_id
-                              : it->saved_face_id));
+                              ? it->saved_face_id
+                              : it->face_id));
 
   if (FRAME_WINDOW_P (f)
       && MATRIX_ROW_DISPLAYS_TEXT_P (it->glyph_row)