Changeset 2331 for trunk/src


Ignore:
Timestamp:
Jan 5, 2000, 8:44:34 PM (26 years ago)
Author:
sandervl
Message:

MS Office 2K typelib crash bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/typelib.cpp

    r2325 r2331  
    1 /* $Id: typelib.cpp,v 1.8 2000-01-05 18:29:54 davidr Exp $ */
     1/* $Id: typelib.cpp,v 1.9 2000-01-05 19:44:34 sandervl Exp $ */
    22/*
    33 * ITypelib interface
     
    982982            // Allocate BSTR container and then convert directly into it...
    983983//???A Fix
     984            //SvL: *pStringLen == -1 in MS Office 2k install
     985            if(*pStringLen == -1)
     986                *pStringLen = 0;
    984987            V_UNION(pVar, bstrVal) = SysAllocStringLen(NULL, *pStringLen);
    985988            AsciiToUnicodeN(pString, V_UNION(pVar, bstrVal), *pStringLen);
Note: See TracChangeset for help on using the changeset viewer.