mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
The IgnoreRemovable now defaults to true (1) which should help with the missing disk errors.
This commit is contained in:
parent
425e0c7b15
commit
c895803238
@ -31,7 +31,7 @@ CMeasureDiskSpace::CMeasureDiskSpace(CMeterWindow* meterWindow) : CMeasure(meter
|
|||||||
{
|
{
|
||||||
m_Total = false;
|
m_Total = false;
|
||||||
m_Label = false;
|
m_Label = false;
|
||||||
m_IgnoreRemovable = false;
|
m_IgnoreRemovable = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -117,7 +117,7 @@ void CMeasureDiskSpace::ReadConfig(CConfigParser& parser, const WCHAR* section)
|
|||||||
m_Drive = parser.ReadString(section, L"Drive", L"C:\\");
|
m_Drive = parser.ReadString(section, L"Drive", L"C:\\");
|
||||||
m_Total = (1 == parser.ReadInt(section, L"Total", 0));
|
m_Total = (1 == parser.ReadInt(section, L"Total", 0));
|
||||||
m_Label = (1 == parser.ReadInt(section, L"Label", 0));
|
m_Label = (1 == parser.ReadInt(section, L"Label", 0));
|
||||||
m_IgnoreRemovable = (1 == parser.ReadInt(section, L"IgnoreRemovable", 0));
|
m_IgnoreRemovable = (1 == parser.ReadInt(section, L"IgnoreRemovable", 1));
|
||||||
|
|
||||||
// Set the m_MaxValue
|
// Set the m_MaxValue
|
||||||
ULARGE_INTEGER i64FreeBytesToCaller, i64TotalBytes, i64FreeBytes;
|
ULARGE_INTEGER i64FreeBytesToCaller, i64TotalBytes, i64FreeBytes;
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
const int revision_number = 155;
|
const int revision_number = 163;
|
Loading…
x
Reference in New Issue
Block a user