diff options
author | Bill Haneman <billh@src.gnome.org> | 2006-06-21 10:36:23 +0000 |
---|---|---|
committer | Bill Haneman <billh@src.gnome.org> | 2006-06-21 10:36:23 +0000 |
commit | 143a37daa7fa7f944ecfe40940a458c100124cb4 (patch) | |
tree | 9eceeaf6685287580b9b8be2bc66cf51e0b76bda | |
parent | 4701a4a02236468773c1c0d51dfbd0aa5dc82201 (diff) | |
download | atk-143a37daa7fa7f944ecfe40940a458c100124cb4.tar.gz |
Fix for bug 345407 from Ginn Chen.
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | atk/atkstateset.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2006-06-21 Bill Haneman <bill.haneman@sun.com> + + * atk/atkstateset.c: + (ATK_STATE): Patch from Ginn Chen, bug #345407. + Fix ATK_STATE macro for state values > 32. + 2006-04-17 Kjartan Maraas <kmaraas@gnome.org> * configure.in: Remove obsolete no.po referrals diff --git a/atk/atkstateset.c b/atk/atkstateset.c index bb71a3a..2b98fa4 100755 --- a/atk/atkstateset.c +++ b/atk/atkstateset.c @@ -22,7 +22,7 @@ #include "atkobject.h" #include "atkstateset.h" -#define ATK_STATE(state_enum) ((AtkState)(1 << ((guint64)(state_enum)%64))) +#define ATK_STATE(state_enum) ((AtkState)((guint64)1 << ((state_enum)%64))) struct _AtkRealStateSet { |