Alexandre Julliard : gdi32: Fix a build failure on Mac OS X.

Alexandre Julliard julliard at winehq.org
Fri Jun 15 14:26:03 CDT 2012


Module: wine
Branch: stable
Commit: 7544ec4f40116e95a43d91d43524519cddd39429
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7544ec4f40116e95a43d91d43524519cddd39429

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jun 15 19:16:14 2012 +0200

gdi32: Fix a build failure on Mac OS X.

---

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

diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 98c0c0b..ef2f152 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -2380,7 +2380,7 @@ static void load_mac_font_callback(const void *value, void *context)
     if (path && CFStringGetFileSystemRepresentation(pathStr, path, len))
     {
         TRACE("font file %s\n", path);
-        AddFontToList(path, NULL, 0, ADDFONT_EXTERNAL_FONT | ADDFONT_ADD_TO_CACHE);
+        AddFontFileToList(path, NULL, NULL, ADDFONT_EXTERNAL_FONT | ADDFONT_ADD_TO_CACHE);
     }
     HeapFree(GetProcessHeap(), 0, path);
 }




More information about the wine-cvs mailing list