165e5e
From f6d6808515527467d789dff52415fa15d4dd4261 Mon Sep 17 00:00:00 2001
165e5e
From: Matthias Clasen <mclasen@redhat.com>
165e5e
Date: Fri, 12 Jul 2013 09:10:56 -0400
165e5e
Subject: [PATCH] Fix an off-by-one in role names
165e5e
165e5e
This was causing atk_role_for_name to return ATK_ROLE_LEVEL_BAR
165e5e
when giving it an empty string, which strangely enough is something
165e5e
that the lsb testsuite checks...
165e5e
165e5e
https://bugzilla.gnome.org/show_bug.cgi?id=704092
165e5e
---
165e5e
 atk/atkobject.c | 2 +-
165e5e
 1 file changed, 1 insertion(+), 1 deletion(-)
165e5e
165e5e
diff --git a/atk/atkobject.c b/atk/atkobject.c
165e5e
index ea0df36..9a400d4 100755
165e5e
--- a/atk/atkobject.c
165e5e
+++ b/atk/atkobject.c
165e5e
@@ -293,7 +293,7 @@ static const guint16 roles_offsets[] = {
165e5e
   751, 757, 769, 782, 791, 810, 816, 822, 
165e5e
   830, 845, 853, 858, 866, 883, 888, 893,
165e5e
   913, 923, 933, 954, 976, 990, 1003, 1018,
165e5e
-  1026, 1035, 1044, 1054, 1067, 1075
165e5e
+  1026, 1035, 1044, 1054, 1067, 1076
165e5e
 };
165e5e
 
165e5e
 /* This is a static assertion */
165e5e
-- 
165e5e
1.8.3.1
165e5e