diff options
author | Bill Haneman <billh@src.gnome.org> | 2006-09-14 10:39:33 +0000 |
---|---|---|
committer | Bill Haneman <billh@src.gnome.org> | 2006-09-14 10:39:33 +0000 |
commit | e6a797b46a957e7bf08e6235581b28a7ba6807c5 (patch) | |
tree | 307bdb5e305495ebcf9f84b362c917797df2c4af /atk/atktext.c | |
parent | a29dc5a62b0259c3b09c5a8484ad58051c9f5c9c (diff) | |
download | atk-e6a797b46a957e7bf08e6235581b28a7ba6807c5.tar.gz |
Fix for bug #346464, allow underlines in gtk with style "PANGO_UNDERLINE_ERROR".
Diffstat (limited to 'atk/atktext.c')
-rwxr-xr-x | atk/atktext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atk/atktext.c b/atk/atktext.c index 19712dd..a2c30b7 100755 --- a/atk/atktext.c +++ b/atk/atktext.c @@ -1129,7 +1129,7 @@ atk_text_attribute_get_value (AtkTextAttribute attr, g_assert (index >= 0 && index < 2); return bool[index]; case ATK_TEXT_ATTR_UNDERLINE: - g_assert (index >= 0 && index < 4); + g_assert (index >= 0 && index < 5); return underline[index]; case ATK_TEXT_ATTR_WRAP_MODE: g_assert (index >= 0 && index < 3); |