From: Eli Zaretskii Date: Thu, 12 Dec 2019 18:07:42 +0000 (+0200) Subject: ; * src/xdisp.c (face_at_pos): Fix last change. X-Git-Tag: emacs-27.0.90~368 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7efe98951730842db4fc136e3b631c5ee0d8a53;p=emacs.git ; * src/xdisp.c (face_at_pos): Fix last change. --- diff --git a/src/xdisp.c b/src/xdisp.c index f3aba4a5980..bb370bbb78f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4180,7 +4180,7 @@ face_at_pos (const struct it *it, enum lface_attribute_index attr_filter) } else { - int base_face_id = 0; + int base_face_id; ptrdiff_t bufpos; int i; Lisp_Object from_overlay @@ -4244,6 +4244,7 @@ face_at_pos (const struct it *it, enum lface_attribute_index attr_filter) but Emacs always did that since v21.1, so changing that might be a big deal. */ bool use_default = (it->string_from_prefix_prop_p != 0); + base_face_id = DEFAULT_FACE_ID; if (!use_default) { base_face_id = underlying_face_id (it);