Mercurial > geeqie.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
785:548b193c084c | 786:a20ff446347e |
---|---|
2251 break; | 2251 break; |
2252 case SEARCH_COLUMN_DIMENSIONS: | 2252 case SEARCH_COLUMN_DIMENSIONS: |
2253 return sort_matchdata_dimensions(fda, fdb); | 2253 return sort_matchdata_dimensions(fda, fdb); |
2254 break; | 2254 break; |
2255 case SEARCH_COLUMN_PATH: | 2255 case SEARCH_COLUMN_PATH: |
2256 return CASE_SORT(fda->fd->path, fdb->fd->path); /* FIXME: utf8_collate */ | 2256 return utf8_compare(fda->fd->path, fdb->fd->path, options->file_sort.case_sensitive); |
2257 break; | 2257 break; |
2258 default: | 2258 default: |
2259 break; | 2259 break; |
2260 } | 2260 } |
2261 | 2261 |