From: Eli Zaretskii Date: Sat, 4 Nov 2023 07:33:33 +0000 (+0200) Subject: Remove unnecessary assertion added 2 days ago X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ee66620fd2af8c5f356e6e720777e16d6c2c050;p=emacs.git Remove unnecessary assertion added 2 days ago * src/xdisp.c (get_glyph_face_and_encoding): Remove unnecessary assertion. It triggers, for no good reason, when running the recipe of bug#66922 and typing C-p in the *Warnings* buffer after the recipe finishes, because the glyph passed to this function is a STRETCH_GLYPH, not a CHAR_GLYPH. --- diff --git a/src/xdisp.c b/src/xdisp.c index 9e8b4b130b9..041c7adfc50 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -29649,7 +29649,6 @@ get_glyph_face_and_encoding (struct frame *f, struct glyph *glyph, struct face *face; unsigned code = 0; - eassert (glyph->type == CHAR_GLYPH); face = FACE_FROM_ID (f, glyph->face_id); /* Make sure X resources of the face are allocated. */