From 03f3b29a274bb14e84c4cb2e64f52ed55c73c957 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 22 Oct 2002 14:34:48 +0000 Subject: fix the sense of a strcmp * gui/component/addressbook-component.c (IS_CONTACT_TYPE): fix the sense of a strcmp svn path=/trunk/; revision=18408 --- addressbook/ChangeLog | 5 +++++ addressbook/gui/component/addressbook-component.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index eed1ad23d6..35b87c3459 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2002-10-21 Dan Winship + + * gui/component/addressbook-component.c (IS_CONTACT_TYPE): fix the + sense of a strcmp + 2002-10-20 Chris Toshok [ fix for #23764 ] diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index 791e49ac48..ad7fa563a4 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -79,7 +79,7 @@ static const EvolutionShellComponentFolderType folder_types[] = { { NULL } }; -#define IS_CONTACT_TYPE(x) (g_strcasecmp((x), "contacts") == 0 || g_strcasecmp ((x), "contacts/ldap") == 0 || g_strcasecmp((x), "contacts/public")) +#define IS_CONTACT_TYPE(x) (g_strcasecmp((x), "contacts") == 0 || g_strcasecmp ((x), "contacts/ldap") == 0 || g_strcasecmp((x), "contacts/public") == 0) /* EvolutionShellComponent methods and signals. */ -- cgit v1.2.3