Ignore:
Timestamp:
Nov 14, 2001, 1:30:46 PM (24 years ago)
Author:
phaller
Message:

replaced heap alloc by stack alloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/ole2nls.cpp

    r6646 r7334  
    1 /* $Id: ole2nls.cpp,v 1.14 2001-09-05 12:57:59 bird Exp $
     1/* $Id: ole2nls.cpp,v 1.15 2001-11-14 12:30:40 phaller Exp $
    22 *
    33 *  National Language Support library
     
    442442    int string_num;
    443443    int i;
     444
     445    /* Replace SUBLANG_NEUTRAL by SUBLANG_DEFAULT */
     446    if(SUBLANGID(lang_id) == SUBLANG_NEUTRAL)
     447        lang_id = MAKELANGID(PRIMARYLANGID(lang_id), SUBLANG_DEFAULT);
    444448
    445449    hrsrc = FindResourceExW(hModule, RT_STRINGW, (LPCWSTR)((res_id >> 4) + 1), lang_id);
     
    20222026   * characters, we can support NORM_IGNOREKANATYPE
    20232027   */
     2028#ifdef DEBUG
    20242029  if (mapflags & ~LCMAPSTRINGA_SUPPORTED_FLAGS)
    20252030  {
     
    20352040     );
    20362041  }
     2042#endif
    20372043
    20382044  if ( !(mapflags & LCMAP_SORTKEY) )
Note: See TracChangeset for help on using the changeset viewer.