commit | 250e0055fe0596f0f13d6e30f0bfe086702f5a25 | [log] [tgz] |
---|---|---|
author | Felix Janda <felix.janda@posteo.de> | Wed Nov 21 20:38:29 2012 +0100 |
committer | Felix Janda <felix.janda@posteo.de> | Wed Nov 21 20:38:29 2012 +0100 |
tree | 287e906cfd510fbc9fa52c47829814d4e4cba3e8 | |
parent | de51192c854d20b19d25daedca9e7ecdc72e13f1 [diff] [blame] |
Make internalization support optional
diff --git a/main.c b/main.c index 4a9795c..2b04d13 100644 --- a/main.c +++ b/main.c
@@ -101,6 +101,9 @@ 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); }