diff options
author | Felix Janda <felix.janda@posteo.de> | 2012-11-21 20:38:29 +0100 |
---|---|---|
committer | Felix Janda <felix.janda@posteo.de> | 2012-11-21 20:38:29 +0100 |
commit | 250e0055fe0596f0f13d6e30f0bfe086702f5a25 (patch) | |
tree | 287e906cfd510fbc9fa52c47829814d4e4cba3e8 /main.c | |
parent | de51192c854d20b19d25daedca9e7ecdc72e13f1 (diff) | |
download | toybox-250e0055fe0596f0f13d6e30f0bfe086702f5a25.tar.gz |
Make internalization support optional
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -101,6 +101,9 @@ void toy_exec(char *argv[]) which = toy_find(argv[0]); if (!which) return; toy_init(which, argv); +#ifdef CFG_TOYBOX_I18N + setlocale(LC_ALL, ""); +#endif toys.which->toy_main(); exit(toys.exitval); } |