2000-04-15 Timur Bakeyev <mc@bat.ru>

* dir.c (string_sortcomp): strcmp() replaced with strcoll() to make
	directory listing LOCALE sensitive. I assume, strcoll exists everywhere,
	as it is in POSIX.
This commit is contained in:
Timur Bakeyev 2000-04-14 08:58:37 +00:00
parent 416ae3e435
commit 45c9c7b748
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2000-04-15 Timur Bakeyev <mc@bat.ru>
* dir.c (string_sortcomp): strcmp() replaced with strcoll() to make
directory listing LOCALE sensitive. I assume, strcoll exists everywhere,
as it is in POSIX.
2000-04-15 Timur Bakeyev <mc@bat.ru>
* dlg.c: Commited at last patch, that fixes screwed up right panel in

View File

@ -76,7 +76,7 @@ sort_orders_t sort_orders [SORT_TYPES_TOTAL] = {
{ N_("&Group"), sort_group }
};
#define string_sortcomp(a,b) (case_sensitive ? strcmp (a,b) : g_strcasecmp (a,b))
#define string_sortcomp(a,b) (case_sensitive ? strcoll (a,b) : g_strcasecmp (a,b))
int
unsorted (const file_entry *a, const file_entry *b)