diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-09-28 14:25:42 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-09-28 14:25:42 -0400 |
commit | ea46cc66b0340dbe42b8b19b2691c824083ad033 (patch) | |
tree | b96ccd84cfebcb72a88b65afbcde95cda3a2abc2 /src | |
parent | 470030991fc3107e04934b1d3aa54d4428be7e2f (diff) |
[a11y] Fix assertion failure
Reported here:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/435646
Diffstat (limited to 'src')
-rw-r--r-- | src/vteaccess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vteaccess.c b/src/vteaccess.c index 8e5f592..fba3b43 100644 --- a/src/vteaccess.c +++ b/src/vteaccess.c @@ -1019,7 +1019,7 @@ vte_terminal_accessible_get_text_somewhere(AtkText *text, offset, priv->snapshot_attributes->len); g_assert(priv->snapshot_text != NULL); g_assert(priv->snapshot_characters != NULL); - if (offset == (int) priv->snapshot_characters->len) { + if (offset >= (int) priv->snapshot_characters->len) { return g_strdup(""); } g_assert(offset < priv->snapshot_characters->len); |