]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pango-font.cc
Doc [web]: Add Peter Kirn's LilyPond review.
[lilypond.git] / lily / pango-font.cc
index ac361794e7518a1d570820d69e282e7fc2b99d07..e9fb2e8fda4b4d1f20426e4cda4a74ee5f3566da 100644 (file)
@@ -180,8 +180,8 @@ Pango_font::pango_item_string_stencil (PangoGlyphItem const *glyph_item) const
       glyph_name[0] = '\0';
       if (has_glyph_names)
        {
-         int errorcode = FT_Get_Glyph_Name (ftface, pg, glyph_name,
-                                            GLYPH_NAME_LEN);
+         FT_Error errorcode = FT_Get_Glyph_Name (ftface, pg, glyph_name,
+                                                 GLYPH_NAME_LEN);
          if (errorcode)
            programming_error (
              _f ("FT_Get_Glyph_Name () error: %s",