mirror of https://github.com/GNOME/gimp.git
fix path import of polylines/polygons
This commit is contained in:
parent
354a640e9e
commit
9ffaf94170
|
@ -994,10 +994,11 @@ svg_handler_poly_start (SvgHandler *handler,
|
|||
break;
|
||||
}
|
||||
|
||||
if (*p)
|
||||
n++;
|
||||
|
||||
while (*p && !g_ascii_isspace (*p) && *p != ',')
|
||||
p++;
|
||||
|
||||
n++;
|
||||
}
|
||||
|
||||
if ((n > 3) && (n % 2 == 0))
|
||||
|
|
Loading…
Reference in New Issue