summaryrefslogtreecommitdiff
path: root/src/unexpand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unexpand.c')
-rw-r--r--src/unexpand.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/unexpand.c b/src/unexpand.c
index 9ea05ab15..0d0959474 100644
--- a/src/unexpand.c
+++ b/src/unexpand.c
@@ -383,12 +383,16 @@ main (int argc, char **argv)
int tabval = -1; /* Value of tabstop being read, or -1. */
int c; /* Option character. */
+ program_name = argv[0];
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
+
have_read_stdin = 0;
exit_status = 0;
convert_entire_line = 0;
tab_list = NULL;
first_free_tab = 0;
- program_name = argv[0];
while ((c = getopt_long (argc, argv, "at:,0123456789", longopts, (int *) 0))
!= EOF)