Commit d6752a6bfbda66cfb3040ea7c7138edc6d3e68ff

Werner Lemberg 2007-08-02T22:03:30

* src/psnames/psmodule.c: Fix usage of FT_CONFIG_OPTION_POSTSCRIPT_NAMES macro. Reported by Graham Asher.

diff --git a/ChangeLog b/ChangeLog
index dc9687d..a43b440 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-03  Werner Lemberg  <wl@gnu.org>
+
+	* src/psnames/psmodule.c: Fix usage of
+	FT_CONFIG_OPTION_POSTSCRIPT_NAMES macro.  Reported by Graham Asher.
+
 2007-07-31  suzuki toshiya  <mpsuzuki@hiroshima-u.ac.jp>
 
 	* src/base/ftmac.c (open_face_from_buffer): The argument
diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c
index 8d8c476..bdcb3f6 100644
--- 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,