[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 00eb21c: ; * src/dispextern.h (struct glyph_string): Comment on
From: |
Eli Zaretskii |
Subject: |
emacs-28 00eb21c: ; * src/dispextern.h (struct glyph_string): Comment on NCHARS. (Bug#51105) |
Date: |
Sat, 9 Oct 2021 07:38:46 -0400 (EDT) |
branch: emacs-28
commit 00eb21c8979f4e53345fdc021d32307d102afda9
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * src/dispextern.h (struct glyph_string): Comment on NCHARS. (Bug#51105)
---
src/dispextern.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/dispextern.h b/src/dispextern.h
index 6aefe43..08dac5d 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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 00eb21c: ; * src/dispextern.h (struct glyph_string): Comment on NCHARS. (Bug#51105),
Eli Zaretskii <=