Fix warning

main
Georg Krause 2019-03-28 13:13:37 +01:00
parent 834260bed4
commit 38e3e914d6
1 changed files with 1 additions and 1 deletions

View File

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