diff options
| author | Eli Zaretskii | 2023-11-04 09:33:33 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-11-04 09:33:33 +0200 |
| commit | 5ee66620fd2af8c5f356e6e720777e16d6c2c050 (patch) | |
| tree | f6faf10864eb9b392c3a7f3ee79ade8f36544431 /src | |
| parent | 08fed99ae862255f06ef2254b7cef3a5fab178b6 (diff) | |
| download | emacs-5ee66620fd2af8c5f356e6e720777e16d6c2c050.tar.gz emacs-5ee66620fd2af8c5f356e6e720777e16d6c2c050.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
| 29649 | struct face *face; | 29649 | struct face *face; |
| 29650 | unsigned code = 0; | 29650 | unsigned code = 0; |
| 29651 | 29651 | ||
| 29652 | eassert (glyph->type == CHAR_GLYPH); | ||
| 29653 | face = FACE_FROM_ID (f, glyph->face_id); | 29652 | face = FACE_FROM_ID (f, glyph->face_id); |
| 29654 | 29653 | ||
| 29655 | /* Make sure X resources of the face are allocated. */ | 29654 | /* Make sure X resources of the face are allocated. */ |