aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Icon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/Icon.c b/generic/Icon.c
index 678e63f..4503492 100644
--- a/generic/Icon.c
+++ b/generic/Icon.c
@@ -522,6 +522,9 @@ Pick(ZnItem item,
double off_dist = MAX(1, wi->pick_aperture+1);
int x, y, width, height;
+ if (icon->image == ZnUnspecifiedImage) {
+ return 1.0e40;
+ }
if (wi->render) {
ZnPoint p;
ZnBBox bbox;