Fixed a problem that "Random" is case-sensitive in CALC measure.

Fixed a problem that a deletion of the meter window encounters enormous delays when the meter window has enormous Update=.

Some small cosmetics.
This commit is contained in:
spx
2010-04-08 23:16:43 +00:00
parent 54fe29a062
commit 32db892e2c
5 changed files with 42 additions and 24 deletions

View File

@ -92,7 +92,6 @@ void CMeterLine::Initialize()
*/
void CMeterLine::ReadConfig(const WCHAR* section)
{
int i;
WCHAR tmpName[256];
// Store the current number of lines so we know if the buffer needs to be updated
@ -109,7 +108,7 @@ void CMeterLine::ReadConfig(const WCHAR* section)
m_ScaleValues.clear();
m_MeasureNames.clear();
for (i = 0; i < lineCount; ++i)
for (int i = 0; i < lineCount; ++i)
{
if (i == 0)
{