diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rwxr-xr-x | atk/atktext.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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); |