diff options
| author | Dan Nicolaescu | 2008-09-19 03:35:56 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-09-19 03:35:56 +0000 |
| commit | 85c66abe5e24a578ca09895592fd79d61aee47b0 (patch) | |
| tree | c4288a1d5524495189c938fbd847fdcbf0078938 /src | |
| parent | c674e738f4c2b81dbdd46bb792f6812c4d070c4c (diff) | |
| download | emacs-85c66abe5e24a578ca09895592fd79d61aee47b0.tar.gz emacs-85c66abe5e24a578ca09895592fd79d61aee47b0.zip | |
(struct it): Move line_wrap away from the middle of
bitfields. Move voffset in struct iterator_stack_entry after the
bitfields. Move tab_width near after another short.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/dispextern.h | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 155ed046f77..d6254c71cfa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * dispextern.h (struct it): Move line_wrap away from the middle of | ||
| 4 | bitfields. Move voffset in struct iterator_stack_entry after the | ||
| 5 | bitfields. Move tab_width near after another short. | ||
| 6 | |||
| 1 | 2008-09-18 Dan Nicolaescu <dann@ics.uci.edu> | 7 | 2008-09-18 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 8 | ||
| 3 | * frame.h (struct frame): Move alpha from the middle of bitfields. | 9 | * frame.h (struct frame): Move alpha from the middle of bitfields. |
diff --git a/src/dispextern.h b/src/dispextern.h index 9b6b6a9de3b..66f5798cdc6 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -2042,9 +2042,9 @@ struct it | |||
| 2042 | unsigned avoid_cursor_p : 1; | 2042 | unsigned avoid_cursor_p : 1; |
| 2043 | 2043 | ||
| 2044 | /* properties from display property that are reset by another display property. */ | 2044 | /* properties from display property that are reset by another display property. */ |
| 2045 | short voffset; | ||
| 2045 | Lisp_Object space_width; | 2046 | Lisp_Object space_width; |
| 2046 | Lisp_Object font_height; | 2047 | Lisp_Object font_height; |
| 2047 | short voffset; | ||
| 2048 | } | 2048 | } |
| 2049 | stack[IT_STACK_SIZE]; | 2049 | stack[IT_STACK_SIZE]; |
| 2050 | 2050 | ||
| @@ -2069,8 +2069,6 @@ struct it | |||
| 2069 | where the `^' can be replaced by a display table entry. */ | 2069 | where the `^' can be replaced by a display table entry. */ |
| 2070 | unsigned ctl_arrow_p : 1; | 2070 | unsigned ctl_arrow_p : 1; |
| 2071 | 2071 | ||
| 2072 | enum line_wrap_method line_wrap; | ||
| 2073 | |||
| 2074 | /* Non-zero means that the current face has a box. */ | 2072 | /* Non-zero means that the current face has a box. */ |
| 2075 | unsigned face_box_p : 1; | 2073 | unsigned face_box_p : 1; |
| 2076 | 2074 | ||
| @@ -2106,6 +2104,8 @@ struct it | |||
| 2106 | descent/ascent (line-height property). Reset after this glyph. */ | 2104 | descent/ascent (line-height property). Reset after this glyph. */ |
| 2107 | unsigned constrain_row_ascent_descent_p : 1; | 2105 | unsigned constrain_row_ascent_descent_p : 1; |
| 2108 | 2106 | ||
| 2107 | enum line_wrap_method line_wrap; | ||
| 2108 | |||
| 2109 | /* The ID of the default face to use. One of DEFAULT_FACE_ID, | 2109 | /* The ID of the default face to use. One of DEFAULT_FACE_ID, |
| 2110 | MODE_LINE_FACE_ID, etc, depending on what we are displaying. */ | 2110 | MODE_LINE_FACE_ID, etc, depending on what we are displaying. */ |
| 2111 | int base_face_id; | 2111 | int base_face_id; |
| @@ -2140,6 +2140,9 @@ struct it | |||
| 2140 | /* Computed from the value of the `raise' property. */ | 2140 | /* Computed from the value of the `raise' property. */ |
| 2141 | short voffset; | 2141 | short voffset; |
| 2142 | 2142 | ||
| 2143 | /* Number of columns per \t. */ | ||
| 2144 | short tab_width; | ||
| 2145 | |||
| 2143 | /* Value of the `height' property, if any; nil if none. */ | 2146 | /* Value of the `height' property, if any; nil if none. */ |
| 2144 | Lisp_Object font_height; | 2147 | Lisp_Object font_height; |
| 2145 | 2148 | ||
| @@ -2150,9 +2153,6 @@ struct it | |||
| 2150 | Lisp_Object object; | 2153 | Lisp_Object object; |
| 2151 | struct text_pos position; | 2154 | struct text_pos position; |
| 2152 | 2155 | ||
| 2153 | /* Number of columns per \t. */ | ||
| 2154 | short tab_width; | ||
| 2155 | |||
| 2156 | /* Width in pixels of truncation and continuation glyphs. */ | 2156 | /* Width in pixels of truncation and continuation glyphs. */ |
| 2157 | short truncation_pixel_width, continuation_pixel_width; | 2157 | short truncation_pixel_width, continuation_pixel_width; |
| 2158 | 2158 | ||