summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-07-12 09:10:56 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-07-12 09:12:08 -0400
commitdc75c5ce5c55d7e73531463f7de48db6c6a4330d (patch)
tree66d244fa1d3b6b961f717070898bc7ecf2a84c3b
parentb2edff1fef1503ce6e8328c7c15ece4a124c5c74 (diff)
downloadatk-dc75c5ce5c55d7e73531463f7de48db6c6a4330d.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-xatk/atkobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atk/atkobject.c b/atk/atkobject.c
index fe12047..2ba83a1 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 */