FolderInfo: Changed output when bytes from '10 b' to '10 ' for consistency with AutoScale. Also changed RegExFilter to RegExpFilter for consistency with WebParser.

This commit is contained in:
Birunthan Mohanathas
2010-11-15 15:23:32 +00:00
parent afee54a02f
commit fbb758003d
6 changed files with 34 additions and 213 deletions

View File

@ -146,9 +146,9 @@ UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id)
}
if (measureInfo->Folder) {
const wchar_t* strRegExFilter = ReadConfigString(section, L"RegExFilter", L"");
if (strRegExFilter && wcslen(strRegExFilter) > 0) {
measureInfo->Folder->SetRegExFilter(strRegExFilter);
const wchar_t* strRegExpFilter = ReadConfigString(section, L"RegExpFilter", L"");
if (strRegExpFilter && wcslen(strRegExpFilter) > 0) {
measureInfo->Folder->SetRegExpFilter(strRegExpFilter);
}
const wchar_t* strIncludeSubFolders = ReadConfigString(section, L"IncludeSubFolders", L"");
@ -189,7 +189,7 @@ static void FormatSize(wchar_t* buffer, size_t bufferSize, UINT64 size)
wsprintf(buffer, L"%d.%02d k", (int)(size >> 10), (int)(( size << 54 >> 54 ) / 10.24));
}
else {
wsprintf(buffer, L"%ld b", size);
wsprintf(buffer, L"%ld ", size);
}
}
@ -292,7 +292,7 @@ void Finalize(HMODULE instance, UINT id)
*/
UINT GetPluginVersion()
{
return 0001;
return 0002;
}
/*