X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=programs%2Fimagex.c;h=e99202b1effdbf659a43b4b38096844bfeca8570;hb=3d84c998673ba7acf82ec5c26769a41e28a2cc7b;hp=c97f2d73acdbbd98652176a5dae60777fd9de022;hpb=ac2f455531e39641bedca08ab510a8c1d09ba125;p=wimlib diff --git a/programs/imagex.c b/programs/imagex.c index c97f2d73..e99202b1 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -3562,9 +3562,9 @@ static const tchar *get_cmd_string(int cmd, bool nospace) static void version(void) { - static const tchar *format = + static const tchar *s = T( -"%"TS" (" PACKAGE ") " PACKAGE_VERSION "\n" +IMAGEX_PROGNAME " (" PACKAGE ") " PACKAGE_VERSION "\n" "Copyright (C) 2012, 2013 Eric Biggers\n" "License GPLv3+; GNU GPL version 3 or later .\n" "This is free software: you are free to change and redistribute it.\n" @@ -3572,7 +3572,7 @@ version(void) "\n" "Report bugs to "PACKAGE_BUGREPORT".\n" ); - tprintf(format, invocation_name); + tfputs(s, stdout); }