diff --git a/src/import/ImportAUP.cpp b/src/import/ImportAUP.cpp index 735547f38..5554407b8 100644 --- a/src/import/ImportAUP.cpp +++ b/src/import/ImportAUP.cpp @@ -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.")); }