Bug #387960.
authorbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 2 Jan 2007 20:29:00 +0000 (20:29 +0000)
committerbillh <billh@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Tue, 2 Jan 2007 20:29:00 +0000 (20:29 +0000)
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@874 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
libspi/text.c

index 07432a5..a8e7100 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-01-02  Bill Haneman <billh@gnome.org>
+
+       * libspi/text.c:
+       (impl_getAttributeRun): Fix misuse of 'i' instead of 'j' when
+       appending default attributes to a text attribute set.
+       Bug #387960.
+
 2006-12-28  Li Yuan  <li.yuan@sun.com>
 
        * atk-bridge/bridge.c:
index 5ac245d..103e719 100644 (file)
@@ -578,7 +578,7 @@ impl_getAttributeRun (PortableServer_Servant servant,
         
         for (j = 0; j < n_default_attributes; ++i, ++j)
         {
-            attr = g_slist_nth_data (default_attributes, i);
+            attr = g_slist_nth_data (default_attributes, j);
             retval->_buffer[i] = CORBA_string_dup (g_strconcat (attr->name, ":", attr->value, NULL));
         }