From 7abea8cdc208652e144541c174849d80a1784285 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 17 Sep 2013 16:29:50 -0700 Subject: [PATCH] Don't put up "unknown chord" for a single note It's obviously just a single note, and not anything else, so don't say anything. --- scherzo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scherzo.c b/scherzo.c index 4914898..b6fda6f 100644 --- a/scherzo.c +++ b/scherzo.c @@ -453,7 +453,7 @@ scherzo_analyze_chord (scherzo_t *scherzo) scherzo->chord = NULL; } - if (num_notes == 0) + if (num_notes <= 1) goto DONE; notes = talloc_array (local, analyzed_note_t, num_notes); -- 2.43.0