]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xfaces.c (face_at_buffer_position): Adapt lookup_basic_face call.
authorGlenn Morris <rgm@gnu.org>
Sun, 4 Nov 2018 17:45:59 +0000 (09:45 -0800)
committerGlenn Morris <rgm@gnu.org>
Sun, 4 Nov 2018 17:45:59 +0000 (09:45 -0800)
src/xfaces.c

index 94397cd7f9996ea116d5aadcd0afe2880cb486d6..76b23a31278757b9a29dd84e491442eb3387d744 100644 (file)
@@ -6099,7 +6099,7 @@ face_at_buffer_position (struct window *w, ptrdiff_t pos,
           cached faces since we've looked up the base face, we need
           to look it up again.  */
        if (!FACE_FROM_ID_OR_NULL (f, face_id))
-         face_id = lookup_basic_face (f, DEFAULT_FACE_ID);
+         face_id = lookup_basic_face (w, f, DEFAULT_FACE_ID);
       }
     else if (NILP (Vface_remapping_alist))
       face_id = DEFAULT_FACE_ID;