hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=06d328ffd114c791491fbe3fbc22bcbffd02560c

commit 06d328ffd114c791491fbe3fbc22bcbffd02560c
Author: JunsuChoi <jsuya.c...@samsung.com>
Date:   Tue Sep 24 11:52:30 2019 +0900

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

-- 


Reply via email to