aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2005-02-07 02:34:35 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2005-02-07 02:34:35 +0800
commit7235d85b7e54f8f244a2487618b083414039f522 (patch)
tree2f753445fc5d1a4cfb9c0dba92446f3f0da23bbe /addressbook/gui
parentb9405c8d50005c21928631e875466bf1bade1f04 (diff)
downloadgsoc2013-evolution-7235d85b7e54f8f244a2487618b083414039f522.tar.gz
gsoc2013-evolution-7235d85b7e54f8f244a2487618b083414039f522.tar.zst
gsoc2013-evolution-7235d85b7e54f8f244a2487618b083414039f522.zip
changed the loop termination check to E_CONACT_LAST_SIMPLE_STRING -1 so
2005-01-06 Sivaiah Nallagatla <snallagatla@novell.com> * e-minicard.c (remodel) : changed the loop termination check to E_CONACT_LAST_SIMPLE_STRING -1 so that we will avoid displaying revision field value in the minicard svn path=/trunk/; revision=28725
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-minicard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 0abdff7fce..2e0579c24d 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -840,7 +840,7 @@ remodel( EMinicard *e_minicard )
list = e_minicard->fields;
e_minicard->fields = NULL;
- for(field = E_CONTACT_FULL_NAME; field != E_CONTACT_LAST_SIMPLE_STRING && count < 5; field++) {
+ for(field = E_CONTACT_FULL_NAME; field != (E_CONTACT_LAST_SIMPLE_STRING -1) && count < 5; field++) {
EMinicardField *minicard_field = NULL;
if (field == E_CONTACT_FAMILY_NAME || field == E_CONTACT_GIVEN_NAME)