aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/Group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/Group.c b/generic/Group.c
index 201fc11..d2908e7 100644
--- a/generic/Group.c
+++ b/generic/Group.c
@@ -1066,7 +1066,7 @@ IsSensitive(Item item,
Item parent = item->parent;
while (sensitive && (parent != ZN_NO_ITEM)) {
- sensitive &= ISSET(item->flags, SENSITIVE_BIT);
+ sensitive &= ISSET(parent->flags, SENSITIVE_BIT);
parent = parent->parent;
}
return sensitive;