diff options
Diffstat (limited to 'captype.c')
-rw-r--r-- | captype.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -139,6 +139,9 @@ main(int argc, char *argv[]) char *init_progfile_dir_error; #endif + /* Set the C-language locale to the native environment. */ + setlocale(LC_ALL, ""); + /* Get the compile-time version information string */ comp_info_str = get_compiled_version_info(NULL, get_captype_compiled_info); @@ -211,9 +214,6 @@ main(int argc, char *argv[]) } } - /* Set the C-language locale to the native environment. */ - setlocale(LC_ALL, ""); - if (argc < 2) { print_usage(stderr); return 1; |