Skip to content

Commit

Permalink
Fix failing repeated FOLLOW labels when maxoverlap is triggered (#4910)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Apr 25, 2014
1 parent cc34484 commit 793bd36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mapprimitive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
{
Expand All @@ -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);
Expand Down

0 comments on commit 793bd36

Please sign in to comment.