summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-10 02:19:48 +0100
committerinfirit <[email protected]>2014-12-10 02:19:48 +0100
commite8b35c2524490173ba03f2bd816981b065ab9b07 (patch)
treef3874a614cdb34b93bb2087fcd8cfceb32b4a776 /libview
parentf8e8685f067bae57ed3ca1bd462086c0e9dbae7d (diff)
downloadatril-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.c2
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;