[PATCH 1/2] Fix up formatting of initializers for arrays of structs

Daniel Stone daniel at fooishbar.org
Tue Jul 17 02:16:07 PDT 2012


Hi,

On 17 July 2012 07:13, Alan Coopersmith <alan.coopersmith at oracle.com> wrote:
> The indenter seems to have gotten confused by initializing arrays of
> structs with the struct defined inline - for predefined structs it did
> a better job, so match that.

It'd be nice if this consistently used spaces or no spaces padding the
inside of the braces.  It'd be even nicer if this consistently used
spaces. ;)

> +    {0, AXIS_LABEL_PROP_REL_RX},

vs.

> +    { GCTile, RT_PIXMAP, DixReadAccess },

Cheers,
Daniel


More information about the xorg-devel mailing list