]> www.fi.muni.cz Git - evince.git/commitdiff
a11y: fixed offset index error
authordanigm <danigm@wadobo.com>
Mon, 21 Mar 2011 07:19:58 +0000 (08:19 +0100)
committerdanigm <danigm@wadobo.com>
Mon, 21 Mar 2011 11:55:52 +0000 (12:55 +0100)
libview/ev-view-accessible.c

index 5834af29a0a069fa0716af499e41990ae111ccfa..bb5b817b5a29a7bda361bdc93b2aadc034966949 100644 (file)
@@ -417,7 +417,7 @@ ev_view_accessible_get_character_extents (AtkText      *text,
        if (!areas)
                return;
 
-       if (offset > n_areas)
+       if (offset >= n_areas)
                return;
 
        rect = areas + offset;