From: Paul Eggert <eggert@cs.ucla.edu>
Date: Thu, 19 May 2016 15:02:13 +0000 (-0700)
Subject: Fix flyspell highlighting
X-Git-Tag: emacs-26.0.90~1928
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=40108979821637104d2ece39af8a27068544d3bd;p=emacs.git

Fix flyspell highlighting

Problem reported by Jim Meyering (Bug#23575).
* src/xdisp.c (extend_face_to_end_of_line):
Fix typo in previous change.
---

diff --git a/src/xdisp.c b/src/xdisp.c
index bec7339d064..e18af2fdf1d 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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)