diff options
Diffstat (limited to 'pango/break.c')
-rw-r--r-- | pango/break.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/pango/break.c b/pango/break.c index d49c242e..ad66842a 100644 --- a/pango/break.c +++ b/pango/break.c @@ -821,11 +821,9 @@ pango_default_break (const gchar *text, default: /* Punctuation, control/format chars, etc. all end a word. */ attrs[i].is_word_end = TRUE; + current_word_type = WordNone; break; } - - if (attrs[i].is_word_end) - current_word_type = WordNone; } else { @@ -1528,4 +1526,3 @@ pango_get_log_attrs (const char *text, log_attrs + chars_broken, attrs_len - chars_broken); } - |