]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/global-context-scheme.cc
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / lily / global-context-scheme.cc
index eeda64521001681855dfa9ee04df5a7aa54a89f4..d1cd44201d483d58ce677bf3f278214170421881 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2005--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2005--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   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);