X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Ffreetype-error.cc;h=21cec3311164d650ec4334b4a6b1aa899bb20ee1;hb=da42c5e6e2cfa14136cacc4007d5c1849f80c52a;hp=1f4dc468181fce0063a4a883fe511cd4696ae005;hpb=bc95f4434f760d41191341ab4508b2064eb19025;p=lilypond.git diff --git a/lily/freetype-error.cc b/lily/freetype-error.cc index 1f4dc46818..21cec33111 100644 --- a/lily/freetype-error.cc +++ b/lily/freetype-error.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2007--2010 Han-Wen Nienhuys + Copyright (C) 2007--2011 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify @@ -27,7 +27,7 @@ const struct Freetype_error_message { - int err_code; + FT_Error err_code; const char* err_msg; } ft_errors[] = @@ -39,7 +39,7 @@ const struct Freetype_error_message #include string -freetype_error_string (int code) +freetype_error_string (FT_Error code) { for (Freetype_error_message const *p = ft_errors; p->err_msg; p ++)