diff options
author | Guillem Jover <guillem@debian.org> | 2013-11-17 06:46:28 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-11-23 06:24:30 +0100 |
commit | fa1cd230b9d89c4f861d10267ea635c8babf6627 (patch) | |
tree | be27fc97ac33400f31817a1d2ade00eb5b66e0da /dpkg-split | |
parent | 62841baecfc474fd1bf61ae8ee75a636ccf8f909 (diff) | |
download | dpkg-fa1cd230b9d89c4f861d10267ea635c8babf6627.tar.gz |
libdpkg: New dpkg_locales_init()
Switch all program to use the new function instead of open-coding it.
Diffstat (limited to 'dpkg-split')
-rw-r--r-- | dpkg-split/main.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dpkg-split/main.c b/dpkg-split/main.c index 11ac34b6a..2e276315d 100644 --- a/dpkg-split/main.c +++ b/dpkg-split/main.c @@ -155,10 +155,7 @@ static const struct cmdinfo cmdinfos[]= { int main(int argc, const char *const *argv) { int ret; - setlocale(LC_ALL, ""); - bindtextdomain(PACKAGE, LOCALEDIR); - textdomain(PACKAGE); - + dpkg_locales_init(PACKAGE); dpkg_program_init(SPLITTER); dpkg_options_parse(&argv, cmdinfos, printforhelp); |