From 06d328ffd114c791491fbe3fbc22bcbffd02560c Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Tue, 24 Sep 2019 11:52:30 +0900 Subject: [PATCH] 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 --- src/lib/efl/interfaces/efl_gfx_path.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/efl/interfaces/efl_gfx_path.c b/src/lib/efl/interfaces/efl_gfx_path.c index 447b234c72..85be89ce71 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) {