From fd046121c7ca04a26321637bec344c470439d0f2 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 3 Oct 2001 20:52:55 +0000 Subject: Fixed these to determine the fields to use properly. 2001-10-03 Christopher James Lahey * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_height), gui/widgets/e-minicard.c (remodel): Fixed these to determine the fields to use properly. svn path=/trunk/; revision=13386 --- addressbook/gui/widgets/e-addressbook-reflow-adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui/widgets/e-addressbook-reflow-adapter.c') diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c index b4092605ed..3c3f716c63 100644 --- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c @@ -322,7 +322,7 @@ addressbook_height (EReflowModel *erm, int i, GnomeCanvasGroup *parent) height = text_height (GNOME_CANVAS_ITEM (parent)->canvas, string ? string : "") + 10.0; g_free(string); - for(field = E_CARD_SIMPLE_FIELD_FULL_NAME; field != E_CARD_SIMPLE_FIELD_LAST - 2 && count < 5; field++) { + for(field = E_CARD_SIMPLE_FIELD_FULL_NAME; field != E_CARD_SIMPLE_FIELD_LAST_SIMPLE_STRING && count < 5; field++) { if (field == E_CARD_SIMPLE_FIELD_FAMILY_NAME) continue; -- cgit v1.2.3