]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/spaceable-grob.cc
use trap to remove tmp directory on failure to avoid hiding mpost
[lilypond.git] / lily / spaceable-grob.cc
index 2bf5ff9fe61ab392da3de51ac30cb399e6bbad1d..daaf1c71edca29c537dc7a872a817be8775ddd87 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2000--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2000--2012 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
@@ -91,8 +91,8 @@ Spaceable_grob::get_spring (Grob *this_col, Grob *next_col)
     }
 
   if (!spring)
-    programming_error (_f ("No spring between column %d and next one",
-                           Paper_column::get_rank (this_col)));
+    programming_error (to_string ("No spring between column %d and next one",
+                                  Paper_column::get_rank (this_col)));
 
   return spring ? *spring : Spring ();
 }