From: Han-Wen Nienhuys Date: Fri, 20 Oct 2006 19:52:05 +0000 (+0000) Subject: (glyph_list): format errors. X-Git-Tag: release/2.10.0-2~119 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2428d42a00eb95bcbd874a78c17e1090424703c9;p=lilypond.git (glyph_list): format errors. --- diff --git a/ChangeLog b/ChangeLog index 078395566f..8b642f30bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-10-20 Han-Wen Nienhuys + * 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. diff --git a/lily/open-type-font.cc b/lily/open-type-font.cc index 1a61c07884..45ae95cce7 100644 --- a/lily/open-type-font.cc +++ b/lily/open-type-font.cc @@ -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);