diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2011-06-15 11:29:48 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2011-06-15 11:29:48 -0400 |
commit | b895d225346084dd9bd167c39ae1f3e2c2526252 (patch) | |
tree | 91a03d54079308cad93e4ed4f1dc61f7c11c63e4 /pango | |
parent | d415fb6aaffcfacdebcf94b05de5e055f3c9e70a (diff) | |
download | pango-b895d225346084dd9bd167c39ae1f3e2c2526252.tar.gz |
Revert "layout: Make sure all lines are ellipsized"
This reverts commit 00d2842d8a5ded059fc058d05b2cffcf16186710.
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-layout.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 4e21e25e..40f92fae 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -5220,7 +5220,8 @@ pango_layout_line_postprocess (PangoLayoutLine *line, /* Ellipsize the line if necessary */ - if (G_UNLIKELY (state->line_width >= 0 && line->layout->ellipsize)) + if (G_UNLIKELY (state->line_width >= 0 && + should_ellipsize_current_line (line->layout, state))) { ellipsized = _pango_layout_line_ellipsize (line, state->attrs, state->line_width); } |