[PATCH xserver 1/3] ramdac: Fix formatting in xf86CheckHWCursor()

Hans de Goede hdegoede at redhat.com
Wed Nov 8 10:24:05 UTC 2017


Hi,

On 08-11-17 05:15, Alex Goins wrote:
> xf86CheckHWCursor() has spacing that is inconsistent with the rest of the file.
> Correct this in preparation for subsequent changes.
> 
> Signed-off-by: Alex Goins <agoins at nvidia.com>

LGTM:

Acked-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans


> ---
>   hw/xfree86/ramdac/xf86HWCurs.c | 10 +++++-----
>   1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/hw/xfree86/ramdac/xf86HWCurs.c b/hw/xfree86/ramdac/xf86HWCurs.c
> index 366837c..15b1cd7 100644
> --- a/hw/xfree86/ramdac/xf86HWCurs.c
> +++ b/hw/xfree86/ramdac/xf86HWCurs.c
> @@ -146,7 +146,7 @@ xf86CheckHWCursor(ScreenPtr pScreen, CursorPtr cursor, xf86CursorInfoPtr infoPtr
>   
>       if (!xf86ScreenCheckHWCursor(pScreen, cursor, infoPtr)) {
>           use_hw_cursor = FALSE;
> -	goto unlock;
> +        goto unlock;
>       }
>   
>       /* ask each driver consuming a pixmap if it can support HW cursor */
> @@ -159,14 +159,14 @@ xf86CheckHWCursor(ScreenPtr pScreen, CursorPtr cursor, xf86CursorInfoPtr infoPtr
>           sPriv = dixLookupPrivate(&pSlave->devPrivates, xf86CursorScreenKey);
>           if (!sPriv) { /* NULL if Option "SWCursor", possibly other conditions */
>               use_hw_cursor = FALSE;
> -	    break;
> -	}
> +            break;
> +        }
>   
>           /* FALSE if HWCursor not supported by slave */
>           if (!xf86ScreenCheckHWCursor(pSlave, cursor, sPriv->CursorInfoPtr)) {
>               use_hw_cursor = FALSE;
> -	    break;
> -	}
> +            break;
> +        }
>       }
>   
>   unlock:
> 


More information about the xorg-devel mailing list