Skip to content

Commit

Permalink
Allow empty items in inline features (#5182)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Feb 24, 2016
1 parent ed7d3f6 commit f404adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ static int loadFeature(layerObj *player, int type)
}
if (string) {
if(shape->values) msFreeCharArray(shape->values, shape->numvalues);
shape->values = msStringSplit(string, ';', &shape->numvalues);
shape->values = msStringSplitComplex(string, ";", &shape->numvalues,MS_ALLOWEMPTYTOKENS);
msFree(string); /* clean up */
}
break;
Expand Down

0 comments on commit f404adf

Please sign in to comment.