]> git.donarmstrong.com Git - lilypond.git/commitdiff
(glyph_list): format errors.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 20 Oct 2006 19:52:05 +0000 (19:52 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 20 Oct 2006 19:52:05 +0000 (19:52 +0000)
ChangeLog
lily/open-type-font.cc

index 078395566f4f0be0ee6289dac3b3e41b3723f82b..8b642f30bf491a5c91e2dff31776c18e958f86ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2006-10-20  Han-Wen Nienhuys  <hanwen@lilypond.org>
 
+       * lily/open-type-font.cc (glyph_list): format errors.
+
        * Documentation/user/programming-interface.itely (Scheme
        procedures as properties): more doco on simple-closure and scheme
        callbacks.
index 1a61c07884869fbe0ffd98ae1ad786cf1b06ee34..45ae95cce76ea7ad80bf2456d8210b0fcb05c643 100644 (file)
@@ -168,7 +168,7 @@ Open_type_font::get_indexed_char (size_t signed_idx) const
       char name[len];
       size_t code = FT_Get_Glyph_Name (face_, signed_idx, name, len);
       if (code)
-       warning (_f ("FT_Get_Glyph_Name() returned error: %d", code));
+       warning (_f ("FT_Get_Glyph_Name() returned error: %u", unsigned (code)));
 
       SCM sym = ly_symbol2scm (name);
       SCM alist = scm_hashq_ref (lily_character_table_, sym, SCM_BOOL_F);
@@ -292,7 +292,7 @@ Open_type_font::glyph_list () const
       char name[len];
       size_t code = FT_Get_Glyph_Name (face_, i, name, len);
       if (code)
-       warning (_f ("FT_Get_Glyph_Name() returned error: %d", code));
+       warning (_f ("FT_Get_Glyph_Name() returned error: %u", unsigned (code)));
 
       *tail = scm_cons (scm_makfrom0str (name), SCM_EOL);
       tail = SCM_CDRLOC (*tail);