X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fglobal-context-scheme.cc;h=d1cd44201d483d58ce677bf3f278214170421881;hb=9e781b7dc83b60a543ce218aa1a5f139f74c760f;hp=eeda64521001681855dfa9ee04df5a7aa54a89f4;hpb=a066a93ee74edebb9d238a1bac93c3bc7e8e6e4a;p=lilypond.git diff --git a/lily/global-context-scheme.cc b/lily/global-context-scheme.cc index eeda645210..d1cd44201d 100644 --- a/lily/global-context-scheme.cc +++ b/lily/global-context-scheme.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2005--2011 Han-Wen Nienhuys + Copyright (C) 2005--2014 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -90,8 +90,7 @@ LY_DEFINE (ly_interpret_music_expression, "ly:interpret-music-expression", LY_ASSERT_TYPE (unsmob_global_context, ctx, 2); Music *music = unsmob_music (mus); - if (!music - || !music->get_length ().to_bool ()) + if (!music) { warning (_ ("no music found in score")); return SCM_BOOL_F; @@ -101,7 +100,7 @@ LY_DEFINE (ly_interpret_music_expression, "ly:interpret-music-expression", Cpu_timer timer; - message (_ ("Interpreting music... ")); + message (_ ("Interpreting music...")); SCM protected_iter = Music_iterator::get_static_get_iterator (music); Music_iterator *iter = unsmob_iterator (protected_iter);