ref: d6752a6bfbda66cfb3040ea7c7138edc6d3e68ff
parent: cf093cd7d2ec1848019b1f9dda5f5c0237479188
author: Werner Lemberg <[email protected]>
date: Thu Aug 2 18:03:30 EDT 2007
* src/psnames/psmodule.c: Fix usage of FT_CONFIG_OPTION_POSTSCRIPT_NAMES macro. Reported by Graham Asher.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-03 Werner Lemberg <[email protected]>
+
+ * src/psnames/psmodule.c: Fix usage of
+ FT_CONFIG_OPTION_POSTSCRIPT_NAMES macro. Reported by Graham Asher.
+
2007-07-31 suzuki toshiya <[email protected]>
* src/base/ftmac.c (open_face_from_buffer): The argument
--- a/src/psnames/psmodule.c
+++ b/src/psnames/psmodule.c
@@ -26,7 +26,7 @@
#include "psnamerr.h"
-#ifndef FT_CONFIG_OPTION_NO_POSTSCRIPT_NAMES
+#ifdef FT_CONFIG_OPTION_POSTSCRIPT_NAMES
#ifdef FT_CONFIG_OPTION_ADOBE_GLYPH_LIST
@@ -427,7 +427,7 @@
return ft_service_list_lookup( pscmaps_services, service_id );
}
-#endif /* !FT_CONFIG_OPTION_NO_POSTSCRIPT_NAMES */
+#endif /* FT_CONFIG_OPTION_POSTSCRIPT_NAMES */
@@ -441,7 +441,7 @@
0x10000L, /* driver version */
0x20000L, /* driver requires FreeType 2 or above */
-#ifdef FT_CONFIG_OPTION_NO_POSTSCRIPT_NAMES
+#ifndef FT_CONFIG_OPTION_POSTSCRIPT_NAMES
0,
(FT_Module_Constructor)0,
(FT_Module_Destructor) 0,