Cosmetic changes.

This commit is contained in:
spx
2012-02-20 09:37:46 +00:00
parent 3c98527338
commit b0046d2968
7 changed files with 20 additions and 26 deletions

View File

@ -120,7 +120,6 @@ bool CMeasureDiskSpace::Update()
{
UINT oldMode = SetErrorMode(0);
SetErrorMode(oldMode | SEM_FAILCRITICALERRORS); // Prevent the system from displaying message box
SetLastError(ERROR_SUCCESS);
sizeResult = GetDiskFreeSpaceEx(drive, NULL, (PULARGE_INTEGER)&i64TotalBytes, (PULARGE_INTEGER)&i64FreeBytes);
SetErrorMode(oldMode); // Reset
}