Bug 1465212 - Fix command line parameter checking in ExecInExplorer plugin. r=agashlin

Because of a silly logic error I made in bug 1494900, the optional command line
parameter support introduced there doesn't actually work at all; I reversed the
sense of the check for the NSIS stack being empty. This fixes that by just using
the check that the popstring function was already doing.

--HG--
extra : rebase_source : e63b70579810af5774e237c619b29fb71012ea8c
extra : source : 58a29f64dd06d4e66e6faf047e2356decc5904f4
This commit is contained in:
Matt Howell 2018-10-02 09:23:29 -07:00
Родитель 4baf44ac0a
Коммит 0a2b8ab1cf
2 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -186,8 +186,7 @@ Exec(HWND, int, TCHAR *, stack_t **stacktop, void *)
path[0] = L'\0';
args[0] = L'\0';
popstring(stacktop, path, MAX_PATH);
if (!stacktop || !*stacktop) {
popstring(stacktop, args, MAX_PATH);
if (popstring(stacktop, args, MAX_PATH) == 0) {
// This stack item may not be for us, but we don't know yet.
restoreArgString = true;
}

Двоичные данные
other-licenses/nsis/Plugins/ExecInExplorer.dll

Двоичный файл не отображается.