]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/open-type-font.cc
Do not translate programming error.
[lilypond.git] / lily / open-type-font.cc
index e7081b69b1f835bb9b0ff4040331dba24af10291..50c89a40650c67e164f61b5d68f9fb1314bb181d 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2004--2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2004--2011 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
@@ -50,7 +50,7 @@ load_table (char const *tag_str, FT_Face face, FT_ULong *length)
       return buffer;
     }
   else
-    programming_error (_f ("Free type error: %s",
+    programming_error (_f ("FreeType error: %s",
                           freetype_error_string (error_code).c_str ()
                           ));
 
@@ -247,7 +247,7 @@ Open_type_font::index_to_charcode (size_t i) const
     return (size_t) iter->second;
   else
     {
-      programming_error (_ ("Invalid index for character"));
+      programming_error ("Invalid index for character");
       return 0;
     }
 }