summaryrefslogtreecommitdiffstats
path: root/otherlibs/graph/make_img.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/graph/make_img.c')
-rw-r--r--otherlibs/graph/make_img.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/otherlibs/graph/make_img.c b/otherlibs/graph/make_img.c
index 91bcd2694..f17d63419 100644
--- a/otherlibs/graph/make_img.c
+++ b/otherlibs/graph/make_img.c
@@ -71,6 +71,8 @@ value gr_make_image(m)
XPutPixel(imask, j, i, rgb != Transparent);
}
}
+ } else {
+ imask = NULL;
}
/* Allocate the image and store the XImages into the Pixmaps */