From c895803238884cb6c51d450b79e5f341660d4615 Mon Sep 17 00:00:00 2001 From: Kimmo Pekkola Date: Wed, 12 Aug 2009 16:15:54 +0000 Subject: [PATCH] The IgnoreRemovable now defaults to true (1) which should help with the missing disk errors. --- Library/MeasureDiskSpace.cpp | 4 ++-- revision-number.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/MeasureDiskSpace.cpp b/Library/MeasureDiskSpace.cpp index 30efbd09..184fb860 100644 --- a/Library/MeasureDiskSpace.cpp +++ b/Library/MeasureDiskSpace.cpp @@ -31,7 +31,7 @@ CMeasureDiskSpace::CMeasureDiskSpace(CMeterWindow* meterWindow) : CMeasure(meter { m_Total = 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_Total = (1 == parser.ReadInt(section, L"Total", 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 ULARGE_INTEGER i64FreeBytesToCaller, i64TotalBytes, i64FreeBytes; diff --git a/revision-number.h b/revision-number.h index 21ecae20..71038144 100644 --- a/revision-number.h +++ b/revision-number.h @@ -1,2 +1,2 @@ #pragma once -const int revision_number = 155; \ No newline at end of file +const int revision_number = 163; \ No newline at end of file