[at-spi2-core] Set correct end offset in atspi_text_get_attributes



commit 31c8d58a316909ae9db75771137bac8d53d3d2e4
Author: Josà MillÃn Soto <fid gpul org>
Date:   Fri Jan 20 13:13:38 2012 +0100

    Set correct end offset in atspi_text_get_attributes
    
    Fixes bug 668334

 atspi/atspi-text.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c
index ee364f1..733260d 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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]