summaryrefslogtreecommitdiff
path: root/libview/ev-view-accessible.c
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view-accessible.c')
-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;