restore fs redirection only if it was set in the first place

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5119 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-04-24 16:16:05 +00:00
parent 96491877f2
commit b5df399991

View file

@ -163,11 +163,11 @@ void RunSelf(char cmd, char *file, int x64)
CloseHandle(pi.hProcess);
}
}
if (x64)
{
SafeWow64EnableWow64FsRedirection(TRUE);
if (x64)
{
SafeWow64EnableWow64FsRedirection(TRUE);
}
}
}