1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-03 06:03:13 +02:00

be explicit about || and && precedence

This commit is contained in:
Paul Licameli 2016-09-18 10:33:37 -04:00
parent b6dce3e842
commit 0323cb8e38

View File

@ -1966,12 +1966,12 @@ void TrackPanel::SelectionHandleClick(wxMouseEvent & event,
bool bShiftDown = event.ShiftDown();
bool bCtrlDown = event.ControlDown();
if (bShiftDown || bCtrlDown
if (bShiftDown || (bCtrlDown
#ifdef USE_MIDI
&& !stretch
#endif
) {
)) {
if( bShiftDown )
ChangeSelectionOnShiftClick( pTrack );