fix path import of polylines/polygons

This commit is contained in:
Simon Budig 2010-09-11 01:51:13 +02:00
parent 354a640e9e
commit 9ffaf94170
1 changed files with 5 additions and 4 deletions

View File

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