[Spice-devel] [PATCH spice-common] canvas_base: Fix minor indentation issues

Christophe Fergeau cfergeau at redhat.com
Thu Jul 5 08:25:30 UTC 2018


Sure, 

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

On Wed, Jul 04, 2018 at 05:23:52PM +0100, Frediano Ziglio wrote:
> This patch just changes some spaces fixing some possible misleading
> indentation.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
>  common/canvas_base.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/common/canvas_base.c b/common/canvas_base.c
> index 36546b3..2fd60aa 100644
> --- a/common/canvas_base.c
> +++ b/common/canvas_base.c
> @@ -2006,7 +2006,7 @@ static void draw_brush(SpiceCanvas *canvas,
>  
>      rects = pixman_region32_rectangles(region, &n_rects);
>  
> -   switch (brush->type) {
> +    switch (brush->type) {
>      case SPICE_BRUSH_TYPE_SOLID:
>          color = brush->u.color;
>          if (rop == SPICE_ROP_COPY) {
> @@ -2015,7 +2015,7 @@ static void draw_brush(SpiceCanvas *canvas,
>              canvas->ops->fill_solid_rects_rop(canvas, rects, n_rects, color, rop);
>          }
>          break;
> -        case SPICE_BRUSH_TYPE_PATTERN: {
> +    case SPICE_BRUSH_TYPE_PATTERN: {
>          SpiceCanvas *surface_canvas;
>  
>          pattern = &brush->u.pattern;
> -- 
> 2.17.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180705/83ea3b58/attachment.sig>


More information about the Spice-devel mailing list