From 67a18f165afe2a38d0b424b54bbfbed0ec704efb Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Sat, 25 Oct 2014 08:25:22 +0000 Subject: [PATCH] MSVC 2013: Code analysis tool & -> && Via David Avery. --- src/effects/Normalize.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/effects/Normalize.cpp b/src/effects/Normalize.cpp index bcac23374..ef46ec9e0 100644 --- a/src/effects/Normalize.cpp +++ b/src/effects/Normalize.cpp @@ -164,13 +164,13 @@ bool EffectNormalize::Process() prevTrack = track; mCurTrackNum = 0; wxString topMsg; - if(mDC & mGain) + if(mDC && mGain) topMsg = _("Removing DC offset and Normalizing...\n"); - else if(mDC & !mGain) + else if(mDC && !mGain) topMsg = _("Removing DC offset...\n"); - else if(!mDC & mGain) + else if(!mDC && mGain) topMsg = _("Normalizing without removing DC offset...\n"); - else if(!mDC & !mGain) + else if(!mDC && !mGain) topMsg = wxT("Not doing anything)...\n"); // shouldn't get here while (track) {