forked from enlightenment/efl
efl: fix path parsing to actually check the value returned by strtol.
CID1328665
This commit is contained in:
parent
573438d081
commit
7f28b3c263
|
@ -1119,7 +1119,7 @@ _efl_gfx_path_parse_arc(const char *content, char **end,
|
|||
|
||||
// sweeo
|
||||
*sweep = strtol(end1, &end2, 10) ? EINA_TRUE : EINA_FALSE;
|
||||
if (!end1 || (end1 == end2)) return EINA_FALSE;
|
||||
if (!end2 || (end1 == end2)) return EINA_FALSE;
|
||||
str = _skipcomma(end2);
|
||||
|
||||
if (_parse_number(&str, x))
|
||||
|
|
Loading…
Reference in New Issue