[pango] Revert "layout: Make sure all lines are ellipsized"



commit b895d225346084dd9bd167c39ae1f3e2c2526252
Author: Behdad Esfahbod <behdad behdad org>
Date:   Wed Jun 15 11:29:48 2011 -0400

    Revert "layout: Make sure all lines are ellipsized"
    
    This reverts commit 00d2842d8a5ded059fc058d05b2cffcf16186710.

 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 4e21e25..40f92fa 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);
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]