Mercurial > mplayer.hg
changeset 21606:ee21c7dff35f
gcc 2.95 fix
author | ods15 |
---|---|
date | Fri, 15 Dec 2006 08:20:05 +0000 |
parents | 10536d2a2d3a |
children | 092f4f92223f |
files | libvo/font_load_ft.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/font_load_ft.c Thu Dec 14 23:47:43 2006 +0000 +++ b/libvo/font_load_ft.c Fri Dec 15 08:20:05 2006 +0000 @@ -796,6 +796,8 @@ static int prepare_charset_unicode(FT_Face face, FT_ULong *charset, FT_ULong *charcodes) { #ifdef HAVE_FREETYPE21 FT_ULong charcode; +#else + int j; #endif FT_UInt gindex; int i; @@ -817,7 +819,6 @@ } #else // for FT < 2.1 we have to use brute force enumeration - int j; i = 0; for (j = 33; j < 65536; j++) { gindex = FT_Get_Char_Index(face, j);