Code optimization and removed unused part for reducing core dll size.

This commit is contained in:
spx
2010-11-11 20:24:59 +00:00
parent 2bf3299ded
commit cab258a7e5
25 changed files with 257 additions and 350 deletions

View File

@ -201,12 +201,11 @@ void UpdateAboutStatistics(LPCTSTR entryName)
const WCHAR* name = (*i)->GetName();
const WCHAR* val = (*i)->GetStats();
std::wstring range;
WCHAR buffer[256];
double minVal = (*i)->GetMinValue();
double maxVal = (*i)->GetMaxValue();
CMeasure::GetScaledValue(1, minVal, buffer);
range = buffer;
std::wstring range = buffer;
range += L" - ";
CMeasure::GetScaledValue(1, maxVal, buffer);
range += buffer;