changeset 819:c90eb9539f6e

fixed vdtree_sort_cb
author nadvornik
date Tue, 10 Jun 2008 19:25:21 +0000
parents 8fd626b43f88
children e9e3fb483cdc
files src/view_dir_tree.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_dir_tree.c	Tue Jun 10 18:39:19 2008 +0000
+++ b/src/view_dir_tree.c	Tue Jun 10 19:25:21 2008 +0000
@@ -884,9 +884,9 @@
 	gtk_tree_model_get(store, b, DIR_COLUMN_POINTER, &ndb, -1);
 
 	if (options->file_sort.case_sensitive)
-		return strcmp(nda->fd->collate_key_name, nda->fd->collate_key_name);
+		return strcmp(nda->fd->collate_key_name, ndb->fd->collate_key_name);
 	else
-		return strcmp(nda->fd->collate_key_name_nocase, nda->fd->collate_key_name_nocase);
+		return strcmp(nda->fd->collate_key_name_nocase, ndb->fd->collate_key_name_nocase);
 }
 
 /*