From: Han-Wen Nienhuys Date: Sat, 6 Jan 2007 20:57:02 +0000 (+0100) Subject: use 2.10 integer alterations. X-Git-Tag: release/2.10.10-1~24 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=45118afd4a2429ee987cff803674a382818eb29a;p=lilypond.git use 2.10 integer alterations. --- diff --git a/lily/music.cc b/lily/music.cc index 607ba14553..b99cc42cfe 100644 --- a/lily/music.cc +++ b/lily/music.cc @@ -200,7 +200,7 @@ transpose_mutable (SCM alist, Pitch delta) if (Pitch *p = unsmob_pitch (val)) { Pitch transposed = p->transposed (delta); - if (transposed.get_alteration ().abs () > Rational (1,1)) + if (transposed.get_alteration () > DOUBLE_SHARP) { warning (_f ("transposition by %s makes alteration larger than double", delta.to_string ()));