From: JunsuChoi Date: Tue, 24 Sep 2019 02:52:30 +0000 (+0900) Subject: efl_gfx_path: Add optimized path command X-Git-Tag: submit/tizen/20190924.053902~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdc5b523335660a98ec04d29da0eb3cbaf742847;p=platform%2Fupstream%2Fefl.git efl_gfx_path: Add optimized path command Summary: If 'L' is removed due to optimization, it should be supported like 3b1f7be If the previous command is 'M', use 'L'. Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10104 Change-Id: I97478dffc8c1612d3e60e905f4af37de0b6e5d9d --- diff --git a/src/lib/efl/interfaces/efl_gfx_path.c b/src/lib/efl/interfaces/efl_gfx_path.c index 447b234..85be89c 100644 --- a/src/lib/efl/interfaces/efl_gfx_path.c +++ b/src/lib/efl/interfaces/efl_gfx_path.c @@ -1380,9 +1380,9 @@ _next_command(char *path, char *cmd, double *arr, int *count) else { if (*cmd == 'm') - { - *cmd = 'l'; - } + *cmd = 'l'; + else if (*cmd == 'M') + *cmd = 'L'; } if ( *count == 7) {