efl: fix path parsing to actually check the value returned by strtol.

CID1328665
This commit is contained in:
Cedric BAIL 2015-10-22 16:57:24 -07:00
parent 573438d081
commit 7f28b3c263
1 changed files with 1 additions and 1 deletions

View File

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