changeset 98236:1c3e02cbd63e

(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.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 19 Sep 2008 03:35:56 +0000
parents eabb75a0a4b5
children fc3f7f475220
files src/ChangeLog src/dispextern.h
diffstat 2 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Sep 19 02:31:03 2008 +0000
+++ b/src/ChangeLog	Fri Sep 19 03:35:56 2008 +0000
@@ -1,3 +1,9 @@
+2008-09-19  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* 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  <dann@ics.uci.edu>
 
 	* frame.h (struct frame): Move alpha from the middle of bitfields.
--- a/src/dispextern.h	Fri Sep 19 02:31:03 2008 +0000
+++ b/src/dispextern.h	Fri Sep 19 03:35:56 2008 +0000
@@ -2042,9 +2042,9 @@
     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 @@
      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 @@
      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 @@
   /* 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 @@
   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;