cabarc: Fix printing of a not recognized compression type argument.

This commit is contained in:
Dmitry Timoshkov 2014-01-09 22:32:44 +09:00 committed by Alexandre Julliard
parent bffd536213
commit dcc057c686
1 changed files with 2 additions and 1 deletions

View File

@ -666,7 +666,8 @@ int wmain( int argc, WCHAR *argv[] )
else if (!strcmpiW( argv[1], mszipW )) opt_compression = tcompTYPE_MSZIP;
else
{
WINE_MESSAGE( "cabarc: Unknown compression type '%s'\n", optarg );
char *arg = strdupWtoA( CP_ACP, argv[1] );
WINE_MESSAGE( "cabarc: Unknown compression type '%s'\n", arg);
return 1;
}
break;