aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/icu/Collate.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-23 13:26:45 +0200
committerMax Kellermann <max@duempel.org>2015-06-23 13:26:45 +0200
commit334bd73792f22a5858bf7afd6df2400f5ac36b26 (patch)
tree63adcb430fce6e39d65947c565079031b7b60e4a /src/lib/icu/Collate.cxx
parent090ce262c4950236996787c588b0f3ef1dbceb64 (diff)
downloadmpd-334bd73792f22a5858bf7afd6df2400f5ac36b26.tar.gz
mpd-334bd73792f22a5858bf7afd6df2400f5ac36b26.tar.xz
mpd-334bd73792f22a5858bf7afd6df2400f5ac36b26.zip
lib/icu/Collate: fall back to strcoll() instead of strcasecmp()
Diffstat (limited to 'src/lib/icu/Collate.cxx')
-rw-r--r--src/lib/icu/Collate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/icu/Collate.cxx b/src/lib/icu/Collate.cxx
index 902192c06..7bc631754 100644
--- a/src/lib/icu/Collate.cxx
+++ b/src/lib/icu/Collate.cxx
@@ -136,7 +136,7 @@ IcuCollate(const char *a, const char *b)
#elif defined(HAVE_GLIB)
return g_utf8_collate(a, b);
#else
- return strcasecmp(a, b);
+ return strcoll(a, b);
#endif
}