aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-03-29 07:57:01 +0800
committerChris Lahey <clahey@src.gnome.org>2001-03-29 07:57:01 +0800
commit74292600ef7fa99759f3681981d5bd8945c58798 (patch)
tree8d3ef71fdfea9efc73a1f5697c8375fc0dcae774 /shell/e-storage-set-view.c
parentd6e6a8d2cc1dcd1ec1aab907a3f7723e0a675b71 (diff)
downloadgsoc2013-evolution-74292600ef7fa99759f3681981d5bd8945c58798.tar.gz
gsoc2013-evolution-74292600ef7fa99759f3681981d5bd8945c58798.tar.zst
gsoc2013-evolution-74292600ef7fa99759f3681981d5bd8945c58798.zip
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
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r--shell/e-storage-set-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index dc084fac35..5db6e70893 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -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));
}