X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=programs%2Fimagex.c;h=c8fa94af86a9ab7ee6a58ef873564465260f6de6;hp=580e65acd530fbd3f95f193246f154ef2814805d;hb=00334bdf09071e65e340eeeb6f3900c79a262649;hpb=e47e683cd0dd4b0b1ee29ad33fae63f8212235f3;ds=sidebyside diff --git a/programs/imagex.c b/programs/imagex.c index 580e65ac..c8fa94af 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -38,6 +38,7 @@ #include #include #include +#include #ifdef HAVE_ALLOCA_H #include @@ -2120,6 +2121,8 @@ int main(int argc, char **argv) const struct imagex_command *cmd; int ret; + setlocale(LC_ALL, ""); + if (argc < 2) { imagex_error("No command specified"); usage_all();