Ignore:
Timestamp:
Oct 15, 2001, 10:46:20 PM (24 years ago)
Author:
sandervl
Message:

bugfix for custom build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/win32k/pe2lx/pe2lx.cpp

    r6852 r7068  
    1 /* $Id: pe2lx.cpp,v 1.33 2001-09-28 07:43:02 sandervl Exp $
     1/* $Id: pe2lx.cpp,v 1.34 2001-10-15 20:46:20 sandervl Exp $
    22 *
    33 * Pe2Lx class implementation. Ring 0 and Ring 3
     
    606606    {
    607607        LXHdr.e32_mflags |= E32MODEXE;
     608#if 0
    608609        if (    pNtHdrs->FileHeader.Characteristics & IMAGE_FILE_RELOCS_STRIPPED     /* Force location if possible. */
    609610            ||  ulImageBase < 0x04000000 && ulImageBase + pNtHdrs->OptionalHeader.SizeOfImage < 0x04000000)
    610611            LXHdr.e32_mflags |= E32NOINTFIX;
     612#endif
    611613    }
    612614
     
    39153917        char *found;
    39163918
    3917         sprintf(searchstring, "%s.%d", pszModuleName, ulFunctionOrdinal);
     3919        sprintf(searchstring, "%s.%d ", pszModuleName, ulFunctionOrdinal);
    39183920        found = strstr(options.pszCustomExports, searchstring);
    39193921        if(found) {
     
    40684070        int   ordinal;
    40694071
    4070         sprintf(searchstring, "%s.%s", pszModuleName, pszFnName);
     4072        sprintf(searchstring, "%s.%s ", pszModuleName, pszFnName);
    40714073        found = strstr(options.pszCustomExports, searchstring);
    40724074        if(found) {
Note: See TracChangeset for help on using the changeset viewer.