diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-10-09 14:38:06 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-10-09 14:38:06 +0300 |
commit | 00eb21c8979f4e53345fdc021d32307d102afda9 (patch) | |
tree | 312d9c29b5673ec4a4a06b9f4770a6210e3232ce /src/dispextern.h | |
parent | 20eb3644ba8d17977bba586782c6d165bc9c5b21 (diff) | |
download | emacs-00eb21c8979f4e53345fdc021d32307d102afda9.tar.gz |
; * src/dispextern.h (struct glyph_string): Comment on NCHARS. (Bug#51105)
Diffstat (limited to 'src/dispextern.h')
-rw-r--r-- | src/dispextern.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |