diff options
author | Sungtaek Hong <sth253.hong@samsung.com> | 2017-09-04 17:47:31 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2017-09-08 09:50:48 +0900 |
commit | 89f92afcccc46949ea72b0346472eda8a397ef52 (patch) | |
tree | 4858135aee72c02b53d93724215283db8732e964 | |
parent | de3062da8977efdba632fec73ded2480f197fb99 (diff) | |
download | efl-89f92afcccc46949ea72b0346472eda8a397ef52.tar.gz |
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
-rw-r--r-- | src/lib/evas/filters/evas_filter_parser.c | 5 |
1 files 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; |