mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Cosmetic changes.
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user