gdi32: Fix the reversed logic in defining the FT_ENCODING_xxx macros

Dmitry Timoshkov dmitry at codeweavers.com
Wed May 30 03:51:22 CDT 2007


Hello,

Changelog:
    gdi32: Fix the reversed logic in defining the FT_ENCODING_xxx macros.

---
 dlls/gdi32/freetype.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 424fb3d..e23f156 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -202,16 +202,16 @@ MAKE_FUNCPTR(FcPatternGetString);
 
 #undef MAKE_FUNCPTR
 
-#ifndef ft_encoding_none
+#ifndef FT_ENCODING_NONE
 #define FT_ENCODING_NONE ft_encoding_none
 #endif
-#ifndef ft_encoding_ms_symbol
+#ifndef FT_ENCODING_MS_SYMBOL
 #define FT_ENCODING_MS_SYMBOL ft_encoding_symbol
 #endif
-#ifndef ft_encoding_unicode
+#ifndef FT_ENCODING_UNICODE
 #define FT_ENCODING_UNICODE ft_encoding_unicode
 #endif
-#ifndef ft_encoding_apple_roman
+#ifndef FT_ENCODING_APPLE_ROMAN
 #define FT_ENCODING_APPLE_ROMAN ft_encoding_apple_roman
 #endif
 
-- 
1.5.1.6






More information about the wine-patches mailing list