summaryrefslogtreecommitdiff
path: root/lily/chord-name-engraver.cc
diff options
context:
space:
mode:
authorDavid Kastrup <dak@gnu.org>2014-06-24 12:56:22 +0200
committerDavid Kastrup <dak@gnu.org>2014-07-21 09:36:44 +0200
commit98b5d41f6eee82aa7cb9da7dbfafdd35872830bd (patch)
treed1c29ee3e57dfb7fe492245801bddb51d2394ab1 /lily/chord-name-engraver.cc
parent3d43c213f307c2a2aad27c8933801cd4dae02f90 (diff)
Don't call Pitch::Pitch with more arguments than necessary.
Diffstat (limited to 'lily/chord-name-engraver.cc')
-rw-r--r--lily/chord-name-engraver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lily/chord-name-engraver.cc b/lily/chord-name-engraver.cc
index 0cb0a7d8e4..b4f1dd33be 100644
--- a/lily/chord-name-engraver.cc
+++ b/lily/chord-name-engraver.cc
@@ -106,7 +106,7 @@ Chord_name_engraver::process_music ()
SCM oct = n->get_property ("octavation");
if (scm_is_number (oct))
{
- Pitch orig = unsmob_pitch (p)->transposed (Pitch (-scm_to_int (oct), 0, 0));
+ Pitch orig = unsmob_pitch (p)->transposed (Pitch (-scm_to_int (oct), 0));
pitches = scm_cons (orig.smobbed_copy (), pitches);
}
else