ref: 2282f341d6aae03f4c8d09a0922a7ba6f25e7643
parent: 1305f2616da2a0207fa9708c77f48cc9daf88253
author: Werner Lemberg <[email protected]>
date: Thu Mar 28 09:21:15 EST 2002
* src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-28 KUSANO Takayuki <[email protected]>
+
+ * src/sfnt/sfdriver.c (get_sfnt_postscript_name): Fix serious typos.
+
2002-03-28 Werner Lemberg <[email protected]>
* include/freetype/internal/psaux.h (PSAux_ServiceRec): Fix
--- a/src/sfnt/sfdriver.c
+++ b/src/sfnt/sfdriver.c
@@ -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;