summaryrefslogtreecommitdiff
path: root/src/xfaces.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-11-04 09:45:59 -0800
committerGlenn Morris <rgm@gnu.org>2018-11-04 09:45:59 -0800
commit294a5246b264441d436612d4de0dd89fad130aa3 (patch)
treece50a711eb53a7f1d297aab716f3a2b4dc9a3e46 /src/xfaces.c
parent410e65e4ce6f871fd1b8a2ef4b227cbeeb17c1dd (diff)
downloademacs-294a5246b264441d436612d4de0dd89fad130aa3.tar.gz
* src/xfaces.c (face_at_buffer_position): Adapt lookup_basic_face call.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 94397cd7f99..76b23a31278 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -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;