diff options
-rw-r--r-- | pango/pango-break.h | 2 | ||||
-rw-r--r-- | pango/pango-layout.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/pango/pango-break.h b/pango/pango-break.h index ae7d953a..16f3918c 100644 --- a/pango/pango-break.h +++ b/pango/pango-break.h @@ -51,7 +51,7 @@ G_BEGIN_DECLS * so all chars are in some sentence; @is_sentence_boundary denotes * the boundaries there. The second way doesn't assign * between-sentence spaces, etc. to any sentence, so - * @is_sentence_start/@is_sentence_end mark the boundaries of those sentences. + * @is_sentence_start/@is_sentence_end mark the boundaries of those sentences. * @is_sentence_start: is first character in a sentence * @is_sentence_end: is first char after a sentence. * Note that in degenerate cases, you could have both @is_sentence_start diff --git a/pango/pango-layout.c b/pango/pango-layout.c index e847e789..57ec7606 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -356,11 +356,6 @@ pango_layout_set_width (PangoLayout *layout, if (width != layout->width) { layout->width = width; - - /* Increasing the width can only decrease the line count */ - if (layout->line_count == 1 && width > layout->width) - return; - layout_changed (layout); } } |