mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
AUP3: Fix condition
This commit is contained in:
parent
70fd77e2dc
commit
030f92c40b
@ -1248,7 +1248,7 @@ bool AUPImportFileHandle::HandleSilentBlockFile(XMLTagHandler *&handler)
|
|||||||
|
|
||||||
if (!wxStrcmp(attr, wxT("len")))
|
if (!wxStrcmp(attr, wxT("len")))
|
||||||
{
|
{
|
||||||
if (!XMLValueChecker::IsGoodInt64(value) || !strValue.ToLongLong(&nValue) | !(nValue > 0))
|
if (!XMLValueChecker::IsGoodInt64(value) || !strValue.ToLongLong(&nValue) || !(nValue > 0))
|
||||||
{
|
{
|
||||||
return SetError(XO("Missing or invalid silentblockfile 'len' attribute."));
|
return SetError(XO("Missing or invalid silentblockfile 'len' attribute."));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user