diff options
Diffstat (limited to 'dselect/main.cc')
-rw-r--r-- | dselect/main.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/dselect/main.cc b/dselect/main.cc index dd7d4c45c..e8fc0da84 100644 --- a/dselect/main.cc +++ b/dselect/main.cc @@ -508,10 +508,7 @@ dselect_catch_fatal_error() int main(int, const char *const *argv) { - setlocale(LC_ALL, ""); - bindtextdomain(DSELECT, LOCALEDIR); - textdomain(DSELECT); - + dpkg_locales_init(DSELECT); dpkg_set_progname(DSELECT); push_error_context_func(dselect_catch_fatal_error, print_fatal_error, 0); |