summaryrefslogtreecommitdiff
path: root/pango/break.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/break.c')
-rw-r--r--pango/break.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pango/break.c b/pango/break.c
index 091d2541..2ab71efe 100644
--- a/pango/break.c
+++ b/pango/break.c
@@ -558,7 +558,10 @@ pango_default_break (const gchar *text,
prev_jamo = NO_JAMO;
if (length == 0 || *text == '\0')
- next_wc = PARAGRAPH_SEPARATOR;
+ {
+ next_wc = PARAGRAPH_SEPARATOR;
+ almost_done = TRUE;
+ }
else
next_wc = g_utf8_get_char (next);