forked from enlightenment/efl
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:
parent
44d362e1ef
commit
06d328ffd1
|
@ -1380,9 +1380,9 @@ _next_command(char *path, char *cmd, double *arr, int *count)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (*cmd == 'm')
|
if (*cmd == 'm')
|
||||||
{
|
|
||||||
*cmd = 'l';
|
*cmd = 'l';
|
||||||
}
|
else if (*cmd == 'M')
|
||||||
|
*cmd = 'L';
|
||||||
}
|
}
|
||||||
if ( *count == 7)
|
if ( *count == 7)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue