aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/addressbook.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 5727115201..da4d257170 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-28 Tor Lillqvist <tml@novell.com>
+
+ * 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.
+
2005-09-14 Sushma Rai <rsushma@novell.com>
* gui/contact-list-editor/e-contact-list-editor.etspec: Set selection
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;