From 31c8d58a316909ae9db75771137bac8d53d3d2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Mill=C3=A1n=20Soto?= Date: Fri, 20 Jan 2012 13:13:38 +0100 Subject: Set correct end offset in atspi_text_get_attributes Fixes bug 668334 --- atspi/atspi-text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'atspi/atspi-text.c') diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c index ee364f15..733260d7 100644 --- a/atspi/atspi-text.c +++ b/atspi/atspi-text.c @@ -184,7 +184,7 @@ atspi_text_get_attributes (AtspiText *obj, dbus_message_iter_next (&iter); dbus_message_iter_get_basic (&iter, &d_end_offset); if (end_offset) - *end_offset = d_start_offset; + *end_offset = d_end_offset; dbus_message_unref (reply); return ret; -- cgit v1.2.1