From 0d66044bc4040da1852f1aea30e4e0fffb3ad0c5 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Sun, 13 Aug 2000 06:41:27 +0000 Subject: Fixed a typo that cause the wrong field to be searched. 2000-08-13 Christopher James Lahey * backend/pas/pas-backend-file.c: Fixed a typo that cause the wrong field to be searched. * gui/component/select-names/e-select-names.c: Made the select names dialog only display entries with email addresses. svn path=/trunk/; revision=4800 --- addressbook/backend/pas/pas-backend-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/backend') diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index fc67c4c0d8..3d7e443f21 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -253,7 +253,7 @@ entry_compare(PASBackendFileSearchContext *ctx, struct _ESExp *f, any_field = !strcmp(propname, "x-evolution-any-field"); for (i = 0; i < num_prop_infos; i ++) { if (any_field - || strcmp (prop_info_table[i].query_prop, propname)) { + || !strcmp (prop_info_table[i].query_prop, propname)) { info = &prop_info_table[i]; if (info->prop_type == PROP_TYPE_NORMAL) { -- cgit v1.2.3