Mercurial > geeqie
diff src/collect.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 | 278962ba162a |
line wrap: on
line diff
--- a/src/collect.c Thu Jun 05 08:41:02 2008 +0000 +++ b/src/collect.c Thu Jun 05 09:24:42 2008 +0000 @@ -148,7 +148,7 @@ return 0; break; case SORT_PATH: - return CASE_SORT(cia->fd->path, cib->fd->path); /* FIXME: utf8_collate */ + return utf8_compare(cia->fd->path, cib->fd->path, options->file_sort.case_sensitive); break; #ifdef HAVE_STRVERSCMP case SORT_NUMBER: