aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2001-03-09 12:08:49 +0000
committerKenichi Handa2001-03-09 12:08:49 +0000
commit28cd4910e87726f19c87b3f35f62742b60aff019 (patch)
tree3b93769f9bd49d57428cec7692d272e1d362ab8f /src
parent898a399deab2137d1402a376e8783165f2e4e8bb (diff)
downloademacs-28cd4910e87726f19c87b3f35f62742b60aff019.tar.gz
emacs-28cd4910e87726f19c87b3f35f62742b60aff019.zip
(struct composition): Change types of members; glyph_len to unsigned,
width to unsigned short.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/composite.h12
2 files changed, 8 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b0a9505c044..14e557e3827 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,7 +1,7 @@
12001-03-09 Kenichi Handa <handa@etl.go.jp> 12001-03-09 Kenichi Handa <handa@etl.go.jp>
2 2
3 * composite.h: Change types of members; glyph_len to unsigned, 3 * composite.h (struct composition): Change types of members;
4 width to unsigned short. 4 glyph_len to unsigned, width to unsigned short.
5 5
62001-03-08 Andrew Innes <andrewi@gnu.org> 62001-03-08 Andrew Innes <andrewi@gnu.org>
7 7
diff --git a/src/composite.h b/src/composite.h
index 7c7236e439a..75a336d6643 100644
--- a/src/composite.h
+++ b/src/composite.h
@@ -149,17 +149,17 @@ extern Lisp_Object composition_temp;
149 ID, and thus share the same instance of this structure. */ 149 ID, and thus share the same instance of this structure. */
150 150
151struct composition { 151struct composition {
152 /* How many columns the overall glyphs occupy on the screen. This
153 gives an approximate value for column calculation in
154 Fcurrent_column, and etc. */
155 unsigned char width;
156
157 /* Number of glyphs of the composition components. */ 152 /* Number of glyphs of the composition components. */
158 unsigned char glyph_len; 153 unsigned glyph_len;
159 154
160 /* Width, ascent, and descent pixels of the composition. */ 155 /* Width, ascent, and descent pixels of the composition. */
161 short pixel_width, ascent, descent; 156 short pixel_width, ascent, descent;
162 157
158 /* How many columns the overall glyphs occupy on the screen. This
159 gives an approximate value for column calculation in
160 Fcurrent_column, and etc. */
161 unsigned short width;
162
163 /* Method of the composition. */ 163 /* Method of the composition. */
164 enum composition_method method; 164 enum composition_method method;
165 165