]> git.cworth.org Git - scherzo/commitdiff
Abbreviate "unknown chord" to a simple question mark
authorCarl Worth <cworth@cworth.org>
Fri, 27 Sep 2013 15:28:40 +0000 (08:28 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 27 Sep 2013 15:28:40 +0000 (08:28 -0700)
This gets the idea across, and is less distracting when it appears
transiently while pressing or releasing the notes of a chord.

scherzo.c

index ce57e9dfd8b3fc2db0ec28fe8fc4d8a971702003..8152418adfa8bc2bda1f235d48c91bb7c5c70f85 100644 (file)
--- a/scherzo.c
+++ b/scherzo.c
@@ -1008,7 +1008,7 @@ HAVE_MATCH:
        _spell_chord_by_signature (note_group, num_notes,
                                   match, root);
     } else {
-       chord_name = talloc_strdup (local, "Unknown chord");
+       chord_name = talloc_strdup (local, "?");
     }
 
     scherzo->chord = score_add_chord (scherzo->treble, chord_name);