summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rwxr-xr-xatk/atktext.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fae8da9..e43df8b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-26 Bill Haneman <bill.haneman@sun.com>
+
+ * atk/atktext.c:
+ (atk_text_attribute_get_value): Allow
+ the wrap value to be 3 (bug #357847).
+
2006-09-14 Bill Haneman <bill.haneman@sun.com>
* atk/docs/atkdocument.sgml:
diff --git a/atk/atktext.c b/atk/atktext.c
index a2c30b7..bc7d7ac 100755
--- a/atk/atktext.c
+++ b/atk/atktext.c
@@ -1132,7 +1132,7 @@ atk_text_attribute_get_value (AtkTextAttribute attr,
g_assert (index >= 0 && index < 5);
return underline[index];
case ATK_TEXT_ATTR_WRAP_MODE:
- g_assert (index >= 0 && index < 3);
+ g_assert (index >= 0 && index < 4);
return wrap_mode[index];
case ATK_TEXT_ATTR_DIRECTION:
g_assert (index >= 0 && index < 3);