summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index fba8b85e..5a1e917b 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -743,7 +743,7 @@ pango_default_break (const gchar *text,
g_assert (prev_break_type != G_UNICODE_BREAK_SPACE);
- attrs[i].is_line_break = FALSE;
+ attrs[i].is_line_break = done; /* XXX ugly */
attrs[i].is_mandatory_break = FALSE;
if (attrs[i].is_cursor_position) /* If it's not a grapheme boundary,