Permalink
Browse files

Allow to specify empty color in mapscript (#5286)

  • Loading branch information...
szekerest committed May 27, 2016
1 parent 3c32009 commit f2b03103f8134b1315fcaf83cb13e45c03b5b37c
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapscript/swiginc/color.i
@@ -42,7 +42,7 @@
/* Check colors */
if (red > 255 || green > 255 || blue > 255 || alpha>255 ||
red<0 || green<0 || blue<0 || alpha<0 ) {
red<-1 || green<-1 || blue<-1 || alpha<0 ) {
msSetError(MS_MISCERR, "Invalid color", "colorObj()");
return NULL;
}

0 comments on commit f2b0310

Please sign in to comment.