From f7fb4d7a67a56e6eec394172bf8b96f82f1b2045 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 20 Jun 2020 09:44:55 +0000 Subject: [PATCH] Get rid of trailing whitespaces (5 / 14) Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12003 --- src/lib/ector/software/ector_renderer_software_image.c | 2 +- src/lib/ector/software/ector_renderer_software_shape.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lib/ector/software/ector_renderer_software_image.c b/src/lib/ector/software/ector_renderer_software_image.c index e06e79d574..f933bd6a00 100644 --- a/src/lib/ector/software/ector_renderer_software_image.c +++ b/src/lib/ector/software/ector_renderer_software_image.c @@ -140,7 +140,7 @@ _ector_renderer_software_image_ector_renderer_draw(Eo *obj EINA_UNUSED, temp = draw_mul_256(pd->opacity, *src); } int inv_alpha = 255 - ((temp) >> 24); - *dst = temp + draw_mul_256(inv_alpha, *dst); + *dst = temp + draw_mul_256(inv_alpha, *dst); } } diff --git a/src/lib/ector/software/ector_renderer_software_shape.c b/src/lib/ector/software/ector_renderer_software_shape.c index be024ff5d1..658a82e41f 100644 --- a/src/lib/ector/software/ector_renderer_software_shape.c +++ b/src/lib/ector/software/ector_renderer_software_shape.c @@ -271,7 +271,7 @@ typedef struct _Line double y2; }Line; -static void +static void _line_value_set(Line *l, double x1, double y1, double x2, double y2) { l->x1 = x1; @@ -281,7 +281,7 @@ _line_value_set(Line *l, double x1, double y1, double x2, double y2) } // approximate sqrt(x*x + y*y) using alpha max plus beta min algorithm. -// With alpha = 1, beta = 3/8, giving results with the largest error less +// With alpha = 1, beta = 3/8, giving results with the largest error less // than 7% compared to the exact value. static double _line_length(Line *l) @@ -339,7 +339,7 @@ _dasher_line_to(Dash_Stroker *dasher, double x, double y) _outline_line_to(dasher->outline, x, y); } } - else + else { while (line_len > dasher->cur_dash_length) { @@ -404,7 +404,7 @@ _dasher_cubic_to(Dash_Stroker *dasher, double cx1 , double cy1, double cx2, doub _outline_cubic_to(dasher->outline, cx1, cy1, cx2, cy2, x, y); } } - else + else { while (bez_len > dasher->cur_dash_length) { -- 2.34.1