Fix for bug 677211 - The collection interface's MATCH_ANY fails for states
[platform/core/uifw/at-spi2-atk.git] / atk-adaptor / adaptors / collection-adaptor.c
index efefa43..c227079 100644 (file)
@@ -119,7 +119,7 @@ match_states_any_p (AtkObject * child, gint * set)
 
   for (i = 0; set[i] != BITARRAY_SEQ_TERM; i++)
     {
-      if (!atk_state_set_contains_state (chs, set[i]))
+      if (atk_state_set_contains_state (chs, set[i]))
         {
           ret = TRUE;
           break;