mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-15 07:40:23 +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")) &&
|
||||
XMLValueChecker::IsGoodInt(strValue) &&
|
||||
strValue.ToLong(&nValue) &&
|
||||
len > 0)
|
||||
nValue > 0)
|
||||
len = nValue;
|
||||
}
|
||||
|
||||
|
@ -498,7 +498,7 @@ BlockFile *SimpleBlockFile::BuildFromXML(DirManager &dm, const wxChar **attrs)
|
||||
dm.AssignFile(fileName,value,FALSE);
|
||||
else if (!wxStrcmp(attr, wxT("len")) &&
|
||||
XMLValueChecker::IsGoodInt(strValue) && strValue.ToLong(&nValue) &&
|
||||
len > 0)
|
||||
nValue > 0)
|
||||
len = nValue;
|
||||
else if (XMLValueChecker::IsGoodString(strValue) && Internat::CompatibleToDouble(strValue, &dblValue))
|
||||
{ // double parameters
|
||||
|
Loading…
x
Reference in New Issue
Block a user