Permalink
Browse files

Fix failing repeated FOLLOW labels when maxoverlap is triggered (#4910)

  • Loading branch information...
tbonfort committed Apr 25, 2014
1 parent cc34484 commit 793bd369d8bd193485a12456d789b8ef7a1ee716
Showing with 2 additions and 1 deletion.
  1. +2 −1 mapprimitive.c
View
@@ -2125,7 +2125,7 @@ int msLineLabelPath(mapObj *map, imageObj *img, lineObj *p, textSymbolObj *ts, s
freeTextPath(tp);
free(tp);
- goto END;
+ goto NEXT_REPEAT;
LABEL_END:
{
@@ -2143,6 +2143,7 @@ int msLineLabelPath(mapObj *map, imageObj *img, lineObj *p, textSymbolObj *ts, s
tsnew->textpath = tp;
tsnew->textpath->absolute = 1;
}
+NEXT_REPEAT:
text_start_length = left_label_position;
n++;
} while (n<2);

0 comments on commit 793bd36

Please sign in to comment.