From 1a9b75fc21606d8d9ebda3092c65989b3104d775 Mon Sep 17 00:00:00 2001 From: Simon Gagne Date: Tue, 21 Mar 2023 13:16:41 -0400 Subject: Merge chart file --- chordNote.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'chordNote.cpp') diff --git a/chordNote.cpp b/chordNote.cpp index 1fa7549..3f1f795 100644 --- a/chordNote.cpp +++ b/chordNote.cpp @@ -96,8 +96,11 @@ void ChordNote::print(){ // Trim all timings to milliseconds void ChordNote::trim(){ - start = start/1000000; - end = end/1000000; + start = start/1000; + if (end != 0) + { + end = end / 1000; + } } // }}} -- cgit v1.2.3