From ad60824ef15e8c4fd4718f92eca8759cabcec035 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sun, 28 Apr 2013 09:11:16 -0400 Subject: [PATCH] * dispextern.h (struct face): Move enum face_underline_type earlier so that bitfields can be in the same word. --- src/ChangeLog | 5 +++++ src/dispextern.h | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 84aa50f7047..5fa2404a243 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-04-28 Dan Nicolaescu + + * dispextern.h (struct face): Move enum face_underline_type + earlier so that bitfields can be in the same word. + 2013-04-28 Jan Djärv * nsfns.m (handlePanelKeys): New function. diff --git a/src/dispextern.h b/src/dispextern.h index 9dc3a57c284..5ce7b19f173 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -1591,13 +1591,13 @@ struct face shadow colors derived from the background color of the face. */ enum face_box_type box; + /* Style of underlining. */ + enum face_underline_type underline_type; + /* If `box' above specifies a 3D type, 1 means use box_color for drawing shadows. */ unsigned use_box_color_for_shadows_p : 1; - /* Style of underlining. */ - enum face_underline_type underline_type; - /* Non-zero if text in this face should be underlined, overlined, strike-through or have a box drawn around it. */ unsigned underline_p : 1; -- 2.39.2