Stop crash in GetDiskFreeSpaceEx.
This commit is contained in:
parent
c9a50fd64f
commit
93b579fe28
|
@ -877,8 +877,8 @@ BOOL WINAPI GetDiskFreeSpaceExA( LPCSTR root,
|
||||||
|
|
||||||
/* Quick hack, should eventually be fixed to work 100% with
|
/* Quick hack, should eventually be fixed to work 100% with
|
||||||
Windows2000 (see comment above). */
|
Windows2000 (see comment above). */
|
||||||
avail->HighPart = totalfree->HighPart;
|
avail->HighPart = available.HighPart;
|
||||||
avail->LowPart = totalfree->LowPart ;
|
avail->LowPart = available.LowPart ;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue