mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01:00
gcc 2.95 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21622 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d42fe72432
commit
6b64c8274e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user