]> code.delx.au - gnu-emacs/commitdiff
Fix flyspell highlighting
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 May 2016 15:02:13 +0000 (08:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 May 2016 15:02:39 +0000 (08:02 -0700)
Problem reported by Jim Meyering (Bug#23575).
* src/xdisp.c (extend_face_to_end_of_line):
Fix typo in previous change.

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)