X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Ffreetype.cc;h=7ad6b42d6a81d8916f4b97b6b8e657705e650317;hb=3ef09ea5cf542f2443113e4004b0e3928f319567;hp=6440edf1a9e35d733475f4c5b931e975cc00a7bd;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/lily/freetype.cc b/lily/freetype.cc index 6440edf1a9..7ad6b42d6a 100644 --- a/lily/freetype.cc +++ b/lily/freetype.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2004--2009 Han-Wen Nienhuys + Copyright (C) 2004--2011 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ FT_Library freetype2_library; void init_freetype () { - int errorcode = FT_Init_FreeType (&freetype2_library); + FT_Error errorcode = FT_Init_FreeType (&freetype2_library); if (errorcode) error ("cannot initialize FreeType"); }