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
This commit is contained in:
junsu choi 2019-09-24 11:52:30 +09:00 committed by Hermet Park
parent 44d362e1ef
commit 06d328ffd1
1 changed files with 3 additions and 3 deletions

View File

@ -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)
{