summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_file/ecore_file.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-01-16 13:43:04 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-01-16 13:43:04 +0000
commit75e3c941b11eb96a19a2e1fd5b5cd1afcdf66179 (patch)
tree1ce20e9169cf0805febc0399ac15fee80ce62de0 /legacy/ecore/src/lib/ecore_file/ecore_file.c
parentd3afa8952e9ff548ef60e79365ab93468023a066 (diff)
Second argument isn't sort order, it's list size
SVN revision: 45217
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_file/ecore_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c
index ccd5f0dad8..b3599fd18b 100644
--- a/legacy/ecore/src/lib/ecore_file/ecore_file.c
+++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c
@@ -697,7 +697,7 @@ ecore_file_ls(const char *dir)
697 } 697 }
698 closedir(dirp); 698 closedir(dirp);
699 699
700 list = eina_list_sort(list, EINA_SORT_MIN, EINA_COMPARE_CB(strcoll)); 700 list = eina_list_sort(list, eina_list_count(list), EINA_COMPARE_CB(strcoll));
701 701
702 return list; 702 return list;
703} 703}