diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-07-12 09:10:56 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-07-12 09:30:25 -0400 |
commit | f6d6808515527467d789dff52415fa15d4dd4261 (patch) | |
tree | 470699108202e30428dac05fedca962c5c16f51a | |
parent | 0777b8674c930f999864441902db58a5357e6655 (diff) | |
download | atk-f6d6808515527467d789dff52415fa15d4dd4261.tar.gz |
Fix an off-by-one in role names
This was causing atk_role_for_name to return ATK_ROLE_LEVEL_BAR
when giving it an empty string, which strangely enough is something
that the lsb testsuite checks...
https://bugzilla.gnome.org/show_bug.cgi?id=704092
-rwxr-xr-x | atk/atkobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atk/atkobject.c b/atk/atkobject.c index ea0df36..9a400d4 100755 --- a/atk/atkobject.c +++ b/atk/atkobject.c @@ -293,7 +293,7 @@ static const guint16 roles_offsets[] = { 751, 757, 769, 782, 791, 810, 816, 822, 830, 845, 853, 858, 866, 883, 888, 893, 913, 923, 933, 954, 976, 990, 1003, 1018, - 1026, 1035, 1044, 1054, 1067, 1075 + 1026, 1035, 1044, 1054, 1067, 1076 }; /* This is a static assertion */ |