efl: fix copy & paste typo while parsing SVG elliptical arc command.
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 21 Oct 2015 18:11:39 +0000 (11:11 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 21 Oct 2015 18:33:40 +0000 (11:33 -0700)
@fix

CID 1328426

src/lib/efl/interfaces/efl_gfx_shape.c

index 6b5d05d..dfcea4b 100644 (file)
@@ -1118,9 +1118,9 @@ _efl_gfx_path_parse_arc(const char *content, char **end,
             end1 = _skipcomma(end1);
 
             // sweeo
-            *sweep = strtol(end2, &end1, 10) ? EINA_TRUE : EINA_FALSE;
+            *sweep = strtol(end1, &end2, 10) ? EINA_TRUE : EINA_FALSE;
             if (!end1 || (end1 == end2)) return EINA_FALSE;
-            str = _skipcomma(end1);
+            str = _skipcomma(end2);
 
             if (_parse_number(&str, x))
               if (_parse_number(&str, y))