diff options
Diffstat (limited to 'src/editgroup.c')
-rw-r--r-- | src/editgroup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editgroup.c b/src/editgroup.c index 3cd9e9a5..328d6c29 100644 --- a/src/editgroup.c +++ b/src/editgroup.c @@ -230,7 +230,7 @@ static gint edit_group_list_compare_func( GtkCList *clist, gconstpointer ptr1, g if( cell2 ) name2 = cell2->u.text; if( ! name1 ) return ( name2 != NULL ); if( ! name2 ) return -1; - return strcasecmp( name1, name2 ); + return g_ascii_strcasecmp( name1, name2 ); } static void addressbook_edit_group_create( gboolean *cancelled ) { @@ -528,7 +528,7 @@ ItemFolder *addressbook_edit_folder( AddressBookFile *abf, ItemFolder *parent, I return NULL; } if( folder ) { - if( strcasecmp( name, ADDRITEM_NAME(folder) ) == 0 ) { + if( g_ascii_strcasecmp( name, ADDRITEM_NAME(folder) ) == 0 ) { g_free( name ); return NULL; } |