]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/libdraw/poly.c
Improve the posix preprocessor.
[plan9front.git] / sys / src / libdraw / poly.c
old mode 100755 (executable)
new mode 100644 (file)
index 96effae..15febe0
@@ -44,7 +44,7 @@ dopoly(int cmd, Image *dst, Point *pp, int np, int end0, int end1, int radius, I
        _setdrawop(dst->display, op);
 
        a = bufimage(dst->display, 1+4+2+4+4+4+4+2*4+(u-t));
-       if(a == 0){
+       if(a == nil){
                free(t);
                fprint(2, "image poly: %r\n");
                return;