summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_gfx_path.c
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2019-09-24 11:52:30 +0900
committerHermet Park <hermetpark@gmail.com>2019-09-24 11:52:30 +0900
commit06d328ffd114c791491fbe3fbc22bcbffd02560c (patch)
treea7bcd7ee65fdfea58bfe81d394b5bb63c6b341d9 /src/lib/efl/interfaces/efl_gfx_path.c
parent44d362e1ef9f0ab1375dde2948fa0ba80ee935cf (diff)
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
Diffstat (limited to 'src/lib/efl/interfaces/efl_gfx_path.c')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_path.c6
1 files 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)
1380 else 1380 else
1381 { 1381 {
1382 if (*cmd == 'm') 1382 if (*cmd == 'm')
1383 { 1383 *cmd = 'l';
1384 *cmd = 'l'; 1384 else if (*cmd == 'M')
1385 } 1385 *cmd = 'L';
1386 } 1386 }
1387 if ( *count == 7) 1387 if ( *count == 7)
1388 { 1388 {