aboutsummaryrefslogtreecommitdiffstats
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
parentd6e6a8d2cc1dcd1ec1aab907a3f7723e0a675b71 (diff)
downloadgsoc2013-evolution-74292600ef7fa99759f3681981d5bd8945c58798.tar
gsoc2013-evolution-74292600ef7fa99759f3681981d5bd8945c58798.tar.gz
gsoc2013-evolution-74292600ef7fa99759f3681981d5bd8945c58798.tar.bz2
gsoc2013-evolution-74292600ef7fa99759f3681981d5bd8945c58798.tar.lz
gsoc2013-evolution-74292600ef7fa99759f3681981d5bd8945c58798.tar.xz
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
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-storage-set-view.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 148c1a2c02..aaf00ceff0 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -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):
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));
}