Changeset 6350 for trunk/src


Ignore:
Timestamp:
Jul 16, 2001, 10:17:39 PM (24 years ago)
Author:
sandervl
Message:

AddFontResourceA: ignore if called with filename of PE executable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/font.cpp

    r5795 r6350  
    1 /* $Id: font.cpp,v 1.19 2001-05-24 19:26:30 sandervl Exp $ */
     1/* $Id: font.cpp,v 1.20 2001-07-16 20:17:39 sandervl Exp $ */
    22
    33/*
     
    554554              LPCSTR, szFont)
    555555{
     556    HINSTANCE hInstance;
     557
    556558    dprintf(("GDI32: AddFontResourceA %s", szFont));
     559    hInstance = LoadLibraryA(szFont);
     560    if(hInstance) {
     561        dprintf(("AddFontResourceA: executable file; NOT IMPLEMENTED"));
     562        FreeLibrary(hInstance);
     563        return 1;
     564    }
    557565    return O32_AddFontResource(szFont);
    558566}
Note: See TracChangeset for help on using the changeset viewer.