1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 07:59:27 +02:00

MSVC 2013: Code analysis tool & -> &&

Via David Avery.
This commit is contained in:
james.k.crook@gmail.com 2014-10-25 08:25:22 +00:00
parent 09c5ffe8f1
commit 67a18f165a

View File

@ -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) {