diff src/search.c @ 786:a20ff446347e

Compare paths using utf8_collate_key() since paths are utf8-encoded. It fixes bug 1959854.
author zas_
date Thu, 05 Jun 2008 09:24:42 +0000
parents 548b193c084c
children a31524ae39cb
line wrap: on
line diff
--- a/src/search.c	Thu Jun 05 08:41:02 2008 +0000
+++ b/src/search.c	Thu Jun 05 09:24:42 2008 +0000
@@ -2253,7 +2253,7 @@
 			return sort_matchdata_dimensions(fda, fdb);
 			break;
 		case SEARCH_COLUMN_PATH:
-			return CASE_SORT(fda->fd->path, fdb->fd->path); /* FIXME: utf8_collate */
+			return utf8_compare(fda->fd->path, fdb->fd->path, options->file_sort.case_sensitive);
 			break;
 		default:
 			break;