X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpaper-book.cc;h=382577146fe1321f75cf765b1eaceebcad332865;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=f1423ef3b6ee333a2059df02664052c724870749;hpb=a787177cc3613b03361c6ef50547455922d0b86b;p=lilypond.git diff --git a/lily/paper-book.cc b/lily/paper-book.cc index f1423ef3b6..382577146f 100644 --- a/lily/paper-book.cc +++ b/lily/paper-book.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2004--2014 Jan Nieuwenhuizen + Copyright (C) 2004--2015 Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -285,7 +285,7 @@ Paper_book::book_title () paper_->self_scm (), scopes); - if (Stencil::unsmob (tit)) + if (Stencil::is_smob (tit)) title = *Stencil::unsmob (tit); if (!title.is_empty ()) @@ -314,7 +314,7 @@ Paper_book::score_title (SCM header) paper_->self_scm (), scopes); - if (Stencil::unsmob (tit)) + if (Stencil::is_smob (tit)) title = *Stencil::unsmob (tit); if (!title.is_empty ()) @@ -474,7 +474,7 @@ Paper_book::get_system_specs () if (scm_is_pair (system_specs)) set_system_penalty (scm_car (system_specs), header); - if (Prob::unsmob (title)) + if (Prob::is_smob (title)) { system_specs = scm_cons (title, system_specs); Prob::unsmob (title)->unprotect ();