Fixed a typo here where we were setting the running height based on the

2001-09-20  Christopher James Lahey  <clahey@ximian.com>

	* 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
This commit is contained in:
Christopher James Lahey
2001-09-20 23:14:16 +00:00
committed by Chris Lahey
parent 4f77a21a2a
commit 854d75e713

View File

@ -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;
}