Index: route_style.c =================================================================== --- route_style.c (revision 2036) +++ route_style.c (revision 2037) @@ -129,7 +129,7 @@ for(n = 0;;n++) { vtroutestyle_enlarge(styles, n+1); if (ParseRoutingString1(&s, &styles->array[n], default_unit) != 0) { - vtroutestyle_truncate(styles, n); + n--; break; } while (*s && isspace((int) *s)) @@ -141,5 +141,6 @@ return -1; } } + vtroutestyle_truncate(styles, n+1); return 0; }