jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=89f92afcccc46949ea72b0346472eda8a397ef52

commit 89f92afcccc46949ea72b0346472eda8a397ef52
Author: Sungtaek Hong <sth253.h...@samsung.com>
Date:   Mon Sep 4 17:47:31 2017 +0900

    Evas filters: remove needless check for negative case.
    
    Summary:
    Becuse ox is set to 0,
    it cannot be negative, so negative check will be needless.
    
    Reviewers: jpeg
    
    Reviewed By: jpeg
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D5155
---
 src/lib/evas/filters/evas_filter_parser.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/filters/evas_filter_parser.c 
b/src/lib/evas/filters/evas_filter_parser.c
index d01299c5bd..cf276b29cd 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -1686,8 +1686,9 @@ _transform_padding_update(Evas_Filter_Program *pgm 
EINA_UNUSED,
    dst = _instruction_param_getbuf(instr, "dst", NULL);
    EINA_SAFETY_ON_NULL_RETURN_VAL(dst, 0);
 
-   if (ox < 0) l = (-ox) * 2;
-   else r = ox * 2;
+   //if (ox < 0) l = (-ox) * 2;
+   //else r = ox * 2;
+   r = ox * 2;
 
    if (oy < 0) t = (-oy) * 2;
    else b = oy * 2;

-- 


Reply via email to