summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pango-layout.c5
1 files changed, 0 insertions, 5 deletions
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);
}
}