Set correct end offset in atspi_text_get_attributes
authorJosé Millán Soto <fid@gpul.org>
Fri, 20 Jan 2012 12:13:38 +0000 (13:13 +0100)
committerMike Gorse <mgorse@linux-l2tz.site>
Fri, 20 Jan 2012 15:42:15 +0000 (09:42 -0600)
Fixes bug 668334

atspi/atspi-text.c

index ee364f1..733260d 100644 (file)
@@ -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;