mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-11 08:32:10 +01:00
https://github.com/clangen/musikcube a cross-platform, terminal-based music player, audio engine, metadata indexer, and server
16 lines
657 B
Diff
16 lines
657 B
Diff
the output of setlocale is quite opaque and segfaults in portable libstdc++ locale() implementation later, so just use current
|
|
--
|
|
diff --git a/src/musikcube/app/model/DirectoryAdapter.cpp b/src/musikcube/app/model/DirectoryAdapter.cpp
|
|
index 6108cde..2f4d1bc 100755
|
|
--- a/src/musikcube/app/model/DirectoryAdapter.cpp
|
|
+++ b/src/musikcube/app/model/DirectoryAdapter.cpp
|
|
@@ -133,7 +133,7 @@ static void buildDirectoryList(
|
|
std::sort(
|
|
target.begin(),
|
|
target.end(),
|
|
- std::locale(setlocale(LC_ALL, nullptr)));
|
|
+ std::locale(""));
|
|
}
|
|
catch (...) {
|
|
std::sort(target.begin(), target.end());
|