Permalink
Browse files

avoid erroneous error condition on too short lines (#4838)

  • Loading branch information...
tbonfort committed Jan 10, 2014
1 parent e52b4b5 commit 036f18accb4881df208f620249aac77f2948f630
Showing with 1 addition and 1 deletion.
  1. +1 −1 maprendering.c
View
@@ -374,7 +374,7 @@ int msImagePolylineMarkers(imageObj *image, shapeObj *p, symbolObj *symbol,
double symbol_width,symbol_height;
glyph_element *glyphc = NULL;
face_element *face;
- int ret = MS_FAILURE;
+ int ret = MS_SUCCESS;
if(symbol->type != MS_SYMBOL_TRUETYPE) {
symbol_width = MS_MAX(1,symbol->sizex*style->scale);
symbol_height = MS_MAX(1,symbol->sizey*style->scale);

0 comments on commit 036f18a

Please sign in to comment.