ref: 070882604976669702c0fd46da0239643863842e
parent: bfe872dad159882ddbc6e5409403b7b3f94c9b27
author: Suzuki, Toshiya (鈴木俊哉) <[email protected]>
date: Sun Oct 15 03:15:28 EDT 2006
* src/base/ftmac.c (FT_New_Face_From_FOND): Initialize the variable error
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-15 suzuki toshiya <[email protected]>
+
+ * src/base/ftmac.c (FT_New_Face_From_FOND): Initialize variable
+ `error' by FT_Err_Ok.
+
2006-10-14 suzuki toshiya <[email protected]>
* docs/INSTALL.CROSS: New document file for cross-building.
--- a/src/base/ftmac.c
+++ b/src/base/ftmac.c
@@ -1165,7 +1165,7 @@
Str255 lwfn_file_name;
UInt8 path_lwfn[HFS_MAXPATHLEN];
OSErr err;
- FT_Error error;
+ FT_Error error = FT_Err_Ok;
GetResInfo( fond, &fond_id, &fond_type, fond_name );