Skip to content

Commit

Permalink
avoid erroneous error condition on too short lines (#4838)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Jan 10, 2014
1 parent e52b4b5 commit 036f18a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maprendering.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ int msImagePolylineMarkers(imageObj *image, shapeObj *p, symbolObj *symbol,
double symbol_width,symbol_height; double symbol_width,symbol_height;
glyph_element *glyphc = NULL; glyph_element *glyphc = NULL;
face_element *face; face_element *face;
int ret = MS_FAILURE; int ret = MS_SUCCESS;
if(symbol->type != MS_SYMBOL_TRUETYPE) { if(symbol->type != MS_SYMBOL_TRUETYPE) {
symbol_width = MS_MAX(1,symbol->sizex*style->scale); symbol_width = MS_MAX(1,symbol->sizex*style->scale);
symbol_height = MS_MAX(1,symbol->sizey*style->scale); symbol_height = MS_MAX(1,symbol->sizey*style->scale);
Expand Down

0 comments on commit 036f18a

Please sign in to comment.