Fix an off-by-one in role names
authorMatthias Clasen <mclasen@redhat.com>
Fri, 12 Jul 2013 13:10:56 +0000 (09:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 12 Jul 2013 13:12:08 +0000 (09:12 -0400)
commitdc75c5ce5c55d7e73531463f7de48db6c6a4330d
tree66d244fa1d3b6b961f717070898bc7ecf2a84c3b
parentb2edff1fef1503ce6e8328c7c15ece4a124c5c74
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
atk/atkobject.c