GNOME Bugzilla – Bug 696466
Inverted logic when testing for empty 'set state'
Last modified: 2013-03-27 14:48:30 UTC
Created attachment 239640 [details] [review] Invert (i.e. correct) the testing logic in 'atk/tests/teststateset.c' In 'atk/atkstateset.c' the function 'atk_state_set_is_empty()' returns TRUE if the state set is empty and FALSE otherwise. This means that in 'atk/tests/teststateset.c' the comparison logic is the wrong way around at lines 37 and 51. I believe these tests are outdated now, so it's not urgent but they might as well be right. The attached patch corrects the accidentally inverse logic.
(In reply to comment #0) > > The attached patch corrects the accidentally inverse logic. Patch committed. Closing bug. Thanks.