diff --git a/src/looperclip.cxx b/src/looperclip.cxx index a0f943e..f220029 100644 --- a/src/looperclip.cxx +++ b/src/looperclip.cxx @@ -278,7 +278,7 @@ void LooperClip::bar() } // FIXME assumes 4 beats in a bar - if ( _playing && _barsPlayed >= getBeats() / 4 || _playhead >= _recordhead) { + if ( (_playing && _barsPlayed >= getBeats() / 4) || _playhead >= _recordhead) { _barsPlayed = 0; _playhead = 0; #ifdef DEBUG_TIME