From 9b7d9c08c0ba278c2cafc9a14f9e872f7a80e002 Mon Sep 17 00:00:00 2001 From: jave Date: Thu, 1 Jan 2009 00:16:04 +0100 Subject: [PATCH] trailing whitespace, better ifdef of xwidget code --- src/dispextern.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/dispextern.h b/src/dispextern.h index 908b62b5995..1a33e9654cf 100644 --- a/src/dispextern.h +++ b/src/dispextern.h @@ -347,11 +347,11 @@ enum glyph_type IMAGE_GLYPH, /* Glyph is a space of fractional width and/or height. */ - STRETCH_GLYPH, + STRETCH_GLYPH #ifdef HAVE_XWIDGETS /* Glyph is an external widget drawn by the GUI toolkit. */ - XWIDGET_GLYPH -#endif + ,XWIDGET_GLYPH +#endif }; @@ -506,7 +506,7 @@ struct glyph #ifdef HAVE_XWIDGETS struct xwidget* xwidget; -#endif +#endif /* Sub-structure for type == STRETCH_GLYPH. */ struct { @@ -1361,7 +1361,7 @@ struct glyph_string /* Image, if any. */ struct image *img; -#ifdef HAVE_XWIDGETS +#ifdef HAVE_XWIDGETS struct xwidget* xwidget; #endif /* Slice */ @@ -2107,10 +2107,10 @@ enum display_element_type IT_TRUNCATION, /* Continuation glyphs. See the comment for IT_TRUNCATION. */ - IT_CONTINUATION, + IT_CONTINUATION -#ifdef HAVE_XWIDGETS - IT_XWIDGET +#ifdef HAVE_XWIDGETS + ,IT_XWIDGET #endif }; @@ -2177,7 +2177,7 @@ enum it_method { GET_FROM_STRETCH, #ifdef HAVE_XWIDGETS GET_FROM_XWIDGET, -#endif +#endif NUM_IT_METHODS }; @@ -2530,7 +2530,7 @@ struct it /* If what == IT_IMAGE, the id of the image to display. */ ptrdiff_t image_id; -#ifdef HAVE_XWIDGETS +#ifdef HAVE_XWIDGETS /* If what == IT_XWIDGET*/ struct xwidget* xwidget; #endif -- 2.11.4.GIT