aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-10-22 22:34:48 +0800
committerDan Winship <danw@src.gnome.org>2002-10-22 22:34:48 +0800
commit03f3b29a274bb14e84c4cb2e64f52ed55c73c957 (patch)
tree24a33f0975df7c223846bf964e77de29b0c0ca91 /addressbook
parent1a9ff832f78517e293b7cc943c798cd98f4e0770 (diff)
downloadgsoc2013-evolution-03f3b29a274bb14e84c4cb2e64f52ed55c73c957.tar
gsoc2013-evolution-03f3b29a274bb14e84c4cb2e64f52ed55c73c957.tar.gz
gsoc2013-evolution-03f3b29a274bb14e84c4cb2e64f52ed55c73c957.tar.bz2
gsoc2013-evolution-03f3b29a274bb14e84c4cb2e64f52ed55c73c957.tar.lz
gsoc2013-evolution-03f3b29a274bb14e84c4cb2e64f52ed55c73c957.tar.xz
gsoc2013-evolution-03f3b29a274bb14e84c4cb2e64f52ed55c73c957.tar.zst
gsoc2013-evolution-03f3b29a274bb14e84c4cb2e64f52ed55c73c957.zip
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
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-component.c2
2 files changed, 6 insertions, 1 deletions
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 <danw@ximian.com>
+
+ * gui/component/addressbook-component.c (IS_CONTACT_TYPE): fix the
+ sense of a strcmp
+
2002-10-20 Chris Toshok <toshok@ximian.com>
[ 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. */