From 247a12697fd421a1e461ec85bb1ea569f18fcf13 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 28 Sep 2005 09:57:50 +0000 Subject: Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to the 2005-09-28 Tor Lillqvist * gui/component/addressbook.c (get_remember_password): Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to the literal "true", just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30391 --- addressbook/gui/component/addressbook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index fad0efa48c..989efb216a 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -140,7 +140,7 @@ get_remember_password (ESource *source) const gchar *value; value = e_source_get_property (source, "remember_password"); - if (value && !strcasecmp (value, "true")) + if (value && !g_ascii_strcasecmp (value, "true")) return TRUE; return FALSE; -- cgit v1.2.3