Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to the
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. svn path=/trunk/; revision=30391
This commit is contained in:
committed by
Tor Lillqvist
parent
c22849ea5d
commit
247a12697f
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user