From 515e536d12970d4b5effa6da86241d5f53a0a556 Mon Sep 17 00:00:00 2001 From: Seymour Shlien Date: Sat, 27 Mar 2021 20:25:40 -0400 Subject: [PATCH] 2021.03.27 --- VERSION | 2 +- abcmatch.c | 4 ++-- doc/CHANGES | 8 ++++++++ doc/readme.txt | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 91e7279..e18f278 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -2021 March 10 2021 +2021 March 27 2021 diff --git a/abcmatch.c b/abcmatch.c index cf2ea4f..8b98a19 100644 --- a/abcmatch.c +++ b/abcmatch.c @@ -49,7 +49,7 @@ Matching: -#define VERSION "1.76 October 19 2020 abcmatch" +#define VERSION "1.78 March 27 2021 abcmatch" #include #include #include @@ -274,7 +274,7 @@ make_note_representation (int *nnotes, int *nbars, int maxnotes, int maxbars, these bar line indications. Note bar numbering starts from 0. [SS] 2013-11-17 */ - if (nbars >0 && *nnotes > 0) { + if (*nbars >0 && *nnotes > 0) { /* 2021-03-27 */ midipitch[*nnotes] = BAR; notelength[*nnotes] = BAR; (*nnotes)++; diff --git a/doc/CHANGES b/doc/CHANGES index 35f2dc9..c6e3fc3 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -14127,4 +14127,12 @@ setting v->hasdrums to 1. If it is NULL send an error message that %%MIDI drumon must occur after the first K: header. +March 27 2021 +abcmatch.c bug fix reported by umbraticus. +277: + if (nbars >0 ... +should be + if (*nbars >0 ... + + diff --git a/doc/readme.txt b/doc/readme.txt index 0d5c661..d4823e8 100644 --- a/doc/readme.txt +++ b/doc/readme.txt @@ -4,7 +4,7 @@ midi2abc version 3.47 November 01 2020 abc2midi version 4.50 March 10 2021 abc2abc version 2.12 October 19 2020 yaps version 1.86 December 10 2020 -abcmatch version 1.77 December 10 2020 +abcmatch version 1.78 March 27 2021 midicopy version 1.37 October 10 2020 24th January 2002