Use strcasecmp instead of strcmp.
2001-03-28 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (storage_sort_callback, folder_sort_callback): Use strcasecmp instead of strcmp. svn path=/trunk/; revision=9002
This commit is contained in:
committed by
Chris Lahey
parent
d6e6a8d2cc
commit
74292600ef
@@ -1,3 +1,8 @@
|
||||
2001-03-28 Christopher James Lahey <clahey@ximian.com>
|
||||
|
||||
* e-storage-set-view.c (storage_sort_callback,
|
||||
folder_sort_callback): Use strcasecmp instead of strcmp.
|
||||
|
||||
2001-03-28 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* e-local-storage.c (async_xfer_folder_callback):
|
||||
|
||||
@@ -157,15 +157,15 @@ storage_sort_callback (ETreeMemory *etmm,
|
||||
if (path2_local)
|
||||
return 1;
|
||||
|
||||
return strcmp (e_tree_model_value_at (E_TREE_MODEL (etmm), node1, 0),
|
||||
e_tree_model_value_at (E_TREE_MODEL (etmm), node2, 0));
|
||||
return strcasecmp (e_tree_model_value_at (E_TREE_MODEL (etmm), node1, 0),
|
||||
e_tree_model_value_at (E_TREE_MODEL (etmm), node2, 0));
|
||||
}
|
||||
|
||||
static int
|
||||
folder_sort_callback (ETreeMemory *etmm, ETreePath path1, ETreePath path2, gpointer closure)
|
||||
{
|
||||
return strcmp (e_tree_model_value_at (E_TREE_MODEL (etmm), path1, 0),
|
||||
e_tree_model_value_at (E_TREE_MODEL (etmm), path2, 0));
|
||||
return strcasecmp (e_tree_model_value_at (E_TREE_MODEL (etmm), path1, 0),
|
||||
e_tree_model_value_at (E_TREE_MODEL (etmm), path2, 0));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user