diff options
author | Tor Lillqvist <tml@novell.com> | 2005-09-28 17:57:50 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-09-28 17:57:50 +0800 |
commit | 247a12697fd421a1e461ec85bb1ea569f18fcf13 (patch) | |
tree | afe233335fe1f24642c34f60681d094337412969 /addressbook/gui | |
parent | c22849ea5d9f84d1006df256c1917f13cdb40cc9 (diff) | |
download | gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.gz gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.bz2 gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.lz gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.xz gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.tar.zst gsoc2013-evolution-247a12697fd421a1e461ec85bb1ea569f18fcf13.zip |
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
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |