From: Dan Nicolaescu Date: Fri, 19 Sep 2008 03:35:56 +0000 (+0000) Subject: (struct it): Move line_wrap away from the middle of X-Git-Tag: emacs-pretest-23.0.90~2850 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=85c66abe5e24a578ca09895592fd79d61aee47b0;p=emacs.git (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. --- diff --git a/src/ChangeLog b/src/ChangeLog index 155ed046f77..d6254c71cfa 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2008-09-19 Dan Nicolaescu + + * dispextern.h (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. + 2008-09-18 Dan Nicolaescu * 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 unsigned avoid_cursor_p : 1; /* properties from display property that are reset by another display property. */ + short voffset; Lisp_Object space_width; Lisp_Object font_height; - short voffset; } stack[IT_STACK_SIZE]; @@ -2069,8 +2069,6 @@ struct it where the `^' can be replaced by a display table entry. */ unsigned ctl_arrow_p : 1; - enum line_wrap_method line_wrap; - /* Non-zero means that the current face has a box. */ unsigned face_box_p : 1; @@ -2106,6 +2104,8 @@ struct it descent/ascent (line-height property). Reset after this glyph. */ unsigned constrain_row_ascent_descent_p : 1; + enum line_wrap_method line_wrap; + /* The ID of the default face to use. One of DEFAULT_FACE_ID, MODE_LINE_FACE_ID, etc, depending on what we are displaying. */ int base_face_id; @@ -2140,6 +2140,9 @@ struct it /* Computed from the value of the `raise' property. */ short voffset; + /* Number of columns per \t. */ + short tab_width; + /* Value of the `height' property, if any; nil if none. */ Lisp_Object font_height; @@ -2150,9 +2153,6 @@ struct it Lisp_Object object; struct text_pos position; - /* Number of columns per \t. */ - short tab_width; - /* Width in pixels of truncation and continuation glyphs. */ short truncation_pixel_width, continuation_pixel_width;