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

Frediano Ziglio fziglio at redhat.com
Wed Jul 4 16:23:52 UTC 2018


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



More information about the Spice-devel mailing list