Ticket #18141: mulfix.patch

File mulfix.patch, 780 bytes (added by phrh@…, 16 years ago)

Edited it to make it a -p0 patch instead of -p1

  • gdi32/freetype.c

    index cb351db..74e70ea 100644
    old new MAKE_FUNCPTR(FT_Get_Sfnt_Table); 
    163163MAKE_FUNCPTR(FT_Init_FreeType);
    164164MAKE_FUNCPTR(FT_Load_Glyph);
    165165MAKE_FUNCPTR(FT_Matrix_Multiply);
     166#ifdef FT_MULFIX_INLINED
     167#define pFT_MulFix FT_MULFIX_INLINED
     168#else
    166169MAKE_FUNCPTR(FT_MulFix);
     170#endif
    167171MAKE_FUNCPTR(FT_New_Face);
    168172MAKE_FUNCPTR(FT_New_Memory_Face);
    169173MAKE_FUNCPTR(FT_Outline_Get_Bitmap);
    static BOOL init_freetype(void) 
    24342438    LOAD_FUNCPTR(FT_Init_FreeType)
    24352439    LOAD_FUNCPTR(FT_Load_Glyph)
    24362440    LOAD_FUNCPTR(FT_Matrix_Multiply)
     2441#ifndef FT_MULFIX_INLINED
    24372442    LOAD_FUNCPTR(FT_MulFix)
     2443#endif
    24382444    LOAD_FUNCPTR(FT_New_Face)
    24392445    LOAD_FUNCPTR(FT_New_Memory_Face)
    24402446    LOAD_FUNCPTR(FT_Outline_Get_Bitmap)