mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-19 09:30:52 +02:00
bug 195 - fixed
This commit is contained in:
parent
e8d37360c1
commit
2def1e7f51
@ -66,7 +66,7 @@ BlockFile *SilentBlockFile::BuildFromXML(DirManager &dm, const wxChar **attrs)
|
|||||||
if (!wxStrcmp(attr, wxT("len")) &&
|
if (!wxStrcmp(attr, wxT("len")) &&
|
||||||
XMLValueChecker::IsGoodInt(strValue) &&
|
XMLValueChecker::IsGoodInt(strValue) &&
|
||||||
strValue.ToLong(&nValue) &&
|
strValue.ToLong(&nValue) &&
|
||||||
len > 0)
|
nValue > 0)
|
||||||
len = nValue;
|
len = nValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -498,7 +498,7 @@ BlockFile *SimpleBlockFile::BuildFromXML(DirManager &dm, const wxChar **attrs)
|
|||||||
dm.AssignFile(fileName,value,FALSE);
|
dm.AssignFile(fileName,value,FALSE);
|
||||||
else if (!wxStrcmp(attr, wxT("len")) &&
|
else if (!wxStrcmp(attr, wxT("len")) &&
|
||||||
XMLValueChecker::IsGoodInt(strValue) && strValue.ToLong(&nValue) &&
|
XMLValueChecker::IsGoodInt(strValue) && strValue.ToLong(&nValue) &&
|
||||||
len > 0)
|
nValue > 0)
|
||||||
len = nValue;
|
len = nValue;
|
||||||
else if (XMLValueChecker::IsGoodString(strValue) && Internat::CompatibleToDouble(strValue, &dblValue))
|
else if (XMLValueChecker::IsGoodString(strValue) && Internat::CompatibleToDouble(strValue, &dblValue))
|
||||||
{ // double parameters
|
{ // double parameters
|
||||||
|
Loading…
x
Reference in New Issue
Block a user