[vte] Bug 598814 - text.getText(0, -1) triggers assertion in vteaccess.c
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] Bug 598814 - text.getText(0, -1) triggers assertion in vteaccess.c
- Date: Thu, 22 Oct 2009 18:08:57 +0000 (UTC)
commit 3e523aa2db487828a332703461e84d6a2cf4ef04
Author: Behdad Esfahbod <behdad behdad org>
Date: Thu Oct 22 14:07:51 2009 -0400
Bug 598814 - text.getText(0, -1) triggers assertion in vteaccess.c
src/vteaccess.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vteaccess.c b/src/vteaccess.c
index fba3b43..b53611e 100644
--- a/src/vteaccess.c
+++ b/src/vteaccess.c
@@ -935,7 +935,7 @@ vte_terminal_accessible_get_text(AtkText *text,
gchar *ret;
/* Swap around if start is greater than end */
- if (start_offset > end_offset) {
+ if (start_offset > end_offset && end_offset != -1) {
gint tmp;
tmp = start_offset;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]