]> git.imager.perl.org - imager.git/commitdiff
- we were undefing the wrong macro (used as an include guard) when
authorTony Cook <tony@develop=help.com>
Thu, 23 Dec 2004 23:01:27 +0000 (23:01 +0000)
committerTony Cook <tony@develop=help.com>
Thu, 23 Dec 2004 23:01:27 +0000 (23:01 +0000)
  building the error code translation function for freetype 2.  This
  meant most errors came out as numbers.

Changes
freetyp2.c

diff --git a/Changes b/Changes
index 07267d5f9cc35dd60e7e7a411c82f9908f03b860..c3b22575c36972d053cd88a7fe039acf32cf0a21 100644 (file)
--- a/Changes
+++ b/Changes
@@ -967,6 +967,9 @@ Revision history for Perl extension Imager.
 - Makefile.PL now checks the directories specified by $Config{locincpth}
   and $Config{loclibpth} for includes and libraries respectively.
   Resolves: https://rt.cpan.org/Ticket/Display.html?id=2942
+- we were undefing the wrong macro (used as an include guard) when
+  building the error code translation function for freetype 2.  This
+  meant most errors came out as numbers.
 
 =================================================================
 
index 268c1333525886f9fd059583274ed408bc796e93..f68ab73fea5b37cde43da1febeb56b79050a9272 100644 (file)
@@ -823,10 +823,10 @@ int i_ft2_has_chars(FT2_Fonthandle *handle, char const *text, int len,
 /* uses a method described in fterrors.h to build an error translation
    function
 */
-#undef __FT_ERRORS_H__
+#undef __FTERRORS_H__
 #define FT_ERRORDEF(e, v, s) case v: i_push_error(code, s); return;
-#define FT_ERROR_START_LIST
-#define FT_ERROR_END_LIST
+#define FT_ERROR_START_LIST 
+#define FT_ERROR_END_LIST 
 
 /*
 =back