--- /var/tmp/portage/sci-geosciences/mapserver-4.10.0/work/mapserver-4.10.0/maptemplate.c 2006-09-29 22:52:05.000000000 +0200 +++ /var/tmp/portage/sci-geosciences/mapserver-4.10.0-r1/work/mapserver-4.10.0/maptemplate.c 2007-04-25 13:42:37.000000000 +0200 @@ -1223,7 +1223,10 @@ snprintf(point, 128, pointFormat2, tShape.line[i].point[j].x, tShape.line[i].point[j].y); coords = strcatalloc(coords, point); if(strlen(pf) > 0) coords = strcatalloc(coords, pf); - if((i < tShape.numlines-1) && (strlen(ps) > 0)) coords = strcatalloc(coords, ps); + if(i < tShape.numlines-1){ + strcatalloc(coords, " "); + if(strlen(ps) > 0) coords = strcatalloc(coords, ps); + } } if(strlen(sf) > 0) coords = strcatalloc(coords, sf);