mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 04:52:32 +00:00
Use result of setlocale()
when sorting by locale.
This commit is contained in:
parent
987e4d7c0f
commit
926b5bebea
@ -107,7 +107,10 @@ static void buildDirectoryList(
|
||||
catch (...) {
|
||||
}
|
||||
|
||||
std::sort(target.begin(), target.end(), std::locale(""));
|
||||
std::sort(
|
||||
target.begin(),
|
||||
target.end(),
|
||||
std::locale(setlocale(LC_ALL, nullptr)));
|
||||
}
|
||||
|
||||
static std::string normalizePath(boost::filesystem::path path) {
|
||||
|
Loading…
Reference in New Issue
Block a user