diff options
author | Simon Gagne <gags2431@usherbrooke.ca> | 2023-03-21 13:16:41 -0400 |
---|---|---|
committer | Simon Gagne <gags2431@usherbrooke.ca> | 2023-03-21 13:16:41 -0400 |
commit | 1a9b75fc21606d8d9ebda3092c65989b3104d775 (patch) | |
tree | cf266a792620b50540d1e1b6281d2861af846b40 /chordNote.cpp | |
parent | 7fa3812f1297c444754f22c3141facecbda92ec7 (diff) |
Merge chart file
Diffstat (limited to 'chordNote.cpp')
-rw-r--r-- | chordNote.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
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; + } } // }}} |