[PATCH 2/4] modesetting: Fix some weird formatting after x-indent-all.sh.

walter harms wharms at bfs.de
Wed Oct 8 06:56:14 PDT 2014



Am 08.10.2014 10:58, schrieb Eric Anholt:
> Signed-off-by: Eric Anholt <eric at anholt.net>
> ---
>  hw/xfree86/drivers/modesetting/drmmode_display.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
> index ca02a4d..d959837 100644
> --- a/hw/xfree86/drivers/modesetting/drmmode_display.c
> +++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
> @@ -976,7 +976,9 @@ static const xf86OutputFuncsRec drmmode_output_funcs = {
>      .destroy = drmmode_output_destroy
>  };
>  
> -static int subpixel_conv_table[7] = { 0, SubPixelUnknown,
> +static int subpixel_conv_table[7] = {
> +    0,
> +    SubPixelUnknown,


maybe the [7] can be removed ?
re,
 wh

>      SubPixelHorizontalRGB,
>      SubPixelHorizontalBGR,
>      SubPixelVerticalRGB,
> @@ -984,7 +986,8 @@ static int subpixel_conv_table[7] = { 0, SubPixelUnknown,
>      SubPixelNone
>  };
>  
> -static const char *const output_names[] = { "None",
> +static const char *const output_names[] = {
> +    "None",
>      "VGA",
>      "DVI",
>      "DVI",


More information about the xorg-devel mailing list