From 854d75e7136a07fbf724dda5ac371efdc7ed3876 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 20 Sep 2001 23:14:16 +0000 Subject: Fixed a typo here where we were setting the running height based on the 2001-09-20 Christopher James Lahey * gal/widgets/e-reflow.c (reflow_columns): Fixed a typo here where we were setting the running height based on the height of object number 2 instead of the current object. Fixes Ximian bug #8807. svn path=/trunk/; revision=13026 --- widgets/misc/e-reflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/misc') diff --git a/widgets/misc/e-reflow.c b/widgets/misc/e-reflow.c index bbb29b88e8..126f9d7dfd 100644 --- a/widgets/misc/e-reflow.c +++ b/widgets/misc/e-reflow.c @@ -233,7 +233,7 @@ reflow_columns (EReflow *reflow) if (i != 0 && running_height + reflow->heights[unsorted] + E_REFLOW_BORDER_WIDTH > reflow->height) { list = g_slist_prepend (list, GINT_TO_POINTER(i)); column_count ++; - running_height = E_REFLOW_BORDER_WIDTH * 2 + reflow->heights[2]; + running_height = E_REFLOW_BORDER_WIDTH * 2 + reflow->heights[unsorted]; } else running_height += reflow->heights[unsorted] + E_REFLOW_BORDER_WIDTH; } -- cgit