webpmux: fix -frame option in windows unicode build

-frame takes a file name parameter, use wargv[] like in other paths

Change-Id: Id582e395d3ff9b00bb7fcc0261b475211758f6d4
This commit is contained in:
James Zern 2022-07-05 11:45:52 -07:00
parent 14a49e018d
commit 67c44ac5db

View File

@ -685,7 +685,7 @@ static int ParseCommandLine(Config* config, const W_CHAR** const unicode_argv) {
ERROR_GOTO1("ERROR: Multiple features specified.\n", ErrParse); ERROR_GOTO1("ERROR: Multiple features specified.\n", ErrParse);
} }
arg->subtype_ = SUBTYPE_ANMF; arg->subtype_ = SUBTYPE_ANMF;
arg->filename_ = argv[i + 1]; arg->filename_ = wargv[i + 1];
arg->params_ = argv[i + 2]; arg->params_ = argv[i + 2];
++feature_arg_index; ++feature_arg_index;
i += 3; i += 3;