Skip to content

Commit

Permalink
use symbol->sizex if sizey is zero (#4497)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Dec 14, 2012
1 parent 93600d2 commit a9e3272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapsymbol.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit a9e3272

Please sign in to comment.