]> git.cworth.org Git - scherzo/blobdiff - scherzo.c
Don't put up "unknown chord" for a single note
[scherzo] / scherzo.c
index 491489839c8cba69345f41d19a0f1879bbf1f97a..b6fda6f1d2288d6deb9c0546c3f08d1890ad7186 100644 (file)
--- 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);