Permalink
Browse files

use symbol->sizex if sizey is zero (#4497)

  • Loading branch information...
1 parent 93600d2 commit a9e3272874894420bc3acdcfc612dff7a732fbeb @tbonfort tbonfort committed Oct 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapsymbol.c
View
@@ -91,7 +91,7 @@ double msSymbolGetDefaultSize(symbolObj *s)
#endif
break;
default: /* vector and ellipses, scalable */
- size = s->sizey;
+ size = (s->sizey<=0)?s->sizex:s->sizey;
break;
}

0 comments on commit a9e3272

Please sign in to comment.