* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.

This commit is contained in:
Werner Lemberg 2002-03-28 14:21:15 +00:00
parent 3431df9bcf
commit eb7730815c
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2002-03-28 KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp>
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
2002-03-28 Werner Lemberg <wl@gnu.org>
* include/freetype/internal/psaux.h (PSAux_ServiceRec): Fix

View File

@ -146,7 +146,7 @@
}
}
if ( found_win )
if ( found_win != -1 )
{
FT_Memory memory = face->root.memory;
TT_NameEntryRec* name = face->name_table.names + found_win;
@ -168,10 +168,10 @@
goto Exit;
}
if ( found_apple )
if ( found_apple != -1 )
{
FT_Memory memory = face->root.memory;
TT_NameEntryRec* name = face->name_table.names + found_win;
TT_NameEntryRec* name = face->name_table.names + found_apple;
FT_UInt len = name->stringLength;
FT_Error error;