mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
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:
parent
416ae3e435
commit
45c9c7b748
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user