From: Eli Zaretskii Date: Sat, 9 Oct 2021 11:38:06 +0000 (+0300) Subject: ; * src/dispextern.h (struct glyph_string): Comment on NCHARS. (Bug#51105) X-Git-Tag: emacs-28.0.90~347 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=00eb21c897;p=emacs.git ; * src/dispextern.h (struct glyph_string): Comment on NCHARS. (Bug#51105) --- diff --git a/src/dispextern.h b/src/dispextern.h index 6aefe43e195..08dac5d4557 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1326,7 +1326,9 @@ struct glyph_string /* The area within row. */ enum glyph_row_area area; - /* Characters to be drawn, and number of characters. */ + /* Characters to be drawn, and number of characters. Note that + NCHARS can be zero if this is a composition glyph string, as + evidenced by FIRST_GLYPH->type. */ unsigned *char2b; int nchars;