GetDiskFreeSpaceEx on NT4 doesn't seem to like NULLs, even though MSDN says it should

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3532 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-04-24 19:16:10 +00:00
parent 47f91a095e
commit 037da48cd1

View file

@ -900,7 +900,8 @@ static BOOL CALLBACK DirProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
if (GDFSE)
{
ULARGE_INTEGER available64;
if (GDFSE(s, &available64, NULL, NULL))
ULARGE_INTEGER a, b;
if (GDFSE(s, &available64, &a, &b))
available = (int)(available64.QuadPart >> 10);
}