aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-06-10 22:38:00 +0200
committerMax Kellermann <max@duempel.org>2014-06-10 23:21:09 +0200
commit37b31907525dd3554924ec4144f4345993579376 (patch)
treec73142153d36066bb9bb537b689b122db4cc51b6 /src/Main.cxx
parentd51265d48f1eb8d2ba7640793d5ce6968805d2c0 (diff)
downloadmpd-37b31907525dd3554924ec4144f4345993579376.tar.gz
mpd-37b31907525dd3554924ec4144f4345993579376.tar.xz
mpd-37b31907525dd3554924ec4144f4345993579376.zip
lib/icu: add IcuInit(), IcuFinish()
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 79fc9d601..5a33e121b 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -57,7 +57,7 @@
#include "util/Domain.hxx"
#include "thread/Id.hxx"
#include "thread/Slack.hxx"
-#include "lib/icu/Collate.hxx"
+#include "lib/icu/Init.hxx"
#include "config/ConfigGlobal.hxx"
#include "config/ConfigData.hxx"
#include "config/ConfigDefaults.hxx"
@@ -430,7 +430,7 @@ int mpd_main(int argc, char *argv[])
#endif
#endif
- if (!IcuCollateInit(error)) {
+ if (!IcuInit(error)) {
LogError(error);
return EXIT_FAILURE;
}
@@ -696,7 +696,7 @@ int mpd_main(int argc, char *argv[])
WSACleanup();
#endif
- IcuCollateFinish();
+ IcuFinish();
log_deinit();
return EXIT_SUCCESS;