aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-09-21 07:14:16 +0800
committerChris Lahey <clahey@src.gnome.org>2001-09-21 07:14:16 +0800
commit854d75e7136a07fbf724dda5ac371efdc7ed3876 (patch)
treeb04b70dfea94b81619fd2f5c27e7bb301187cb42 /widgets/misc
parent4f77a21a2af63fe751f734b6d9316963d703d0fd (diff)
downloadgsoc2013-evolution-854d75e7136a07fbf724dda5ac371efdc7ed3876.tar.gz
gsoc2013-evolution-854d75e7136a07fbf724dda5ac371efdc7ed3876.tar.zst
gsoc2013-evolution-854d75e7136a07fbf724dda5ac371efdc7ed3876.zip
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
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-reflow.c2
1 files changed, 1 insertions, 1 deletions
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;
}