From 54a9aa6087e8a38b43ac6b815725ada28e0bc6cd Mon Sep 17 00:00:00 2001 From: Oskar Wallgren Date: Sun, 7 Aug 2016 14:39:45 +0200 Subject: [PATCH] tickspertact -1 (#2959) --- src/tracks/Pattern.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracks/Pattern.cpp b/src/tracks/Pattern.cpp index 0d8ddf35548..ca7773cd0b8 100644 --- a/src/tracks/Pattern.cpp +++ b/src/tracks/Pattern.cpp @@ -665,7 +665,7 @@ bool Pattern::empty() void Pattern::changeTimeSignature() { - MidiTime last_pos = MidiTime::ticksPerTact(); + MidiTime last_pos = MidiTime::ticksPerTact() - 1; for( NoteVector::ConstIterator cit = m_notes.begin(); cit != m_notes.end(); ++cit ) {