1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

AUP3: Fix condition

This commit is contained in:
Leland Lucius 2020-08-12 11:38:54 -05:00
parent 70fd77e2dc
commit 030f92c40b

View File

@ -1248,7 +1248,7 @@ bool AUPImportFileHandle::HandleSilentBlockFile(XMLTagHandler *&handler)
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."));
}