From 0f964640aed822f5bfc32ab2695019c0ca6862ea Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 7 Apr 2011 13:13:38 +0000 Subject: [PATCH] Evas textblock: Don't mark nodes as clean when in 'calc_only'. SVN revision: 58446 --- legacy/evas/src/lib/canvas/evas_object_textblock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/evas/src/lib/canvas/evas_object_textblock.c b/legacy/evas/src/lib/canvas/evas_object_textblock.c index f001a67ead..244f06805f 100644 --- a/legacy/evas/src/lib/canvas/evas_object_textblock.c +++ b/legacy/evas/src/lib/canvas/evas_object_textblock.c @@ -3232,12 +3232,12 @@ _layout_visualize_par(Ctxt *c) /* Check if we need to skip this paragraph because it's already layouted * correctly, and mark handled nodes as dirty. */ c->par->line_no = c->line_no; - if (c->par->text_node) + if (c->par->text_node && !c->calc_only) { /* Skip this paragraph if width is the same, there is no ellipsis * and we aren't just calculating. */ if (!c->par->text_node->new && !c->par->text_node->dirty && - !c->calc_only && !c->width_changed && c->par->lines && + !c->width_changed && c->par->lines && !c->o->have_ellipsis) { Evas_Object_Textblock_Line *ln;