diff options
author | infirit <[email protected]> | 2014-12-10 02:19:48 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-10 02:19:48 +0100 |
commit | e8b35c2524490173ba03f2bd816981b065ab9b07 (patch) | |
tree | f3874a614cdb34b93bb2087fcd8cfceb32b4a776 /libview | |
parent | f8e8685f067bae57ed3ca1bd462086c0e9dbae7d (diff) | |
download | atril-e8b35c2524490173ba03f2bd816981b065ab9b07.tar.bz2 atril-e8b35c2524490173ba03f2bd816981b065ab9b07.tar.xz |
a11y: fixed offset index error
Taken from evince commit: af0c0f056f8e2f64244df3b7cf1132347f4a9716
From: danigm <[email protected]>
Diffstat (limited to 'libview')
-rw-r--r-- | libview/ev-view-accessible.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libview/ev-view-accessible.c b/libview/ev-view-accessible.c index adc195d4..372b1799 100644 --- a/libview/ev-view-accessible.c +++ b/libview/ev-view-accessible.c @@ -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; |