diff options
author | 2006-12-15 08:20:05 +0000 | |
---|---|---|
committer | 2006-12-15 08:20:05 +0000 | |
commit | 6b64c8274ea2c04b377b9843c88c3e70b86ec0e0 (patch) | |
tree | c8c005a4624bfc9f8d208dc76d5bc1cc11d0b0d8 | |
parent | d42fe72432d8b0b12439fa81e82172673bf22b24 (diff) |
gcc 2.95 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21622 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/font_load_ft.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c index 167687f993..2929de5620 100644 --- a/libvo/font_load_ft.c +++ b/libvo/font_load_ft.c @@ -796,6 +796,8 @@ static int prepare_charset(char *charmap, char *encoding, FT_ULong *charset, FT_ 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 @@ static int prepare_charset_unicode(FT_Face face, FT_ULong *charset, FT_ULong *ch } #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); |