From 030f92c40b8aad6b03b3f4486e6d81445d3d2888 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 12 Aug 2020 11:38:54 -0500 Subject: [PATCH] AUP3: Fix condition --- src/import/ImportAUP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.")); }