X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fskyline.cc;h=0250fc07f4743ba44e7bc1ac8af23ed6057aa435;hb=0b5d0acdc14a073f9cf763c8b596ba02f2a8f08d;hp=d65e48b573e7eeb4a2be65bc23c946e168ca6ec3;hpb=1bbcb5955cad9c9067b66c88caf0b5e77ebb579a;p=lilypond.git diff --git a/lily/skyline.cc b/lily/skyline.cc index d65e48b573..0250fc07f4 100644 --- a/lily/skyline.cc +++ b/lily/skyline.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2006--2011 Joe Neeman + Copyright (C) 2006--2012 Joe Neeman LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -558,9 +558,9 @@ Skyline::internal_distance (Skyline const &other, Real horizon_padding, Real *to dist = max (dist, max (start_dist, end_dist)); if (end_dist == dist) - touch = end; + touch = end; else if (start_dist == dist) - touch = start; + touch = start; if (i->end_ <= j->end_) i++; @@ -661,9 +661,9 @@ IMPLEMENT_TYPE_P (Skyline, "ly:skyline?"); IMPLEMENT_DEFAULT_EQUAL_P (Skyline); SCM -Skyline::mark_smob (SCM) +Skyline::mark_smob (SCM s) { - ASSERT_LIVE_IS_ALLOWED (); + ASSERT_LIVE_IS_ALLOWED (s); return SCM_EOL; }