Changeset 21073


Ignore:
Timestamp:
Mar 18, 2004, 12:13:41 PM (21 years ago)
Author:
sandervl
Message:

KSO: Fixed HEAP_strdupW.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified tags/trunk/src/kernel32/heapstring.cpp

    r20727 r21073  
    1 /* $Id: heapstring.cpp,v 1.54 2003-07-31 15:59:49 sandervl Exp $ */
     1/* $Id: heapstring.cpp,v 1.55 2004-03-18 11:13:41 sandervl Exp $ */
    22/*
    33 * Project Odin Software License can be found in LICENSE.TXT
     
    901901    INT len = lstrlenW(str) + 1;
    902902    LPWSTR p = (LPWSTR)HEAP_xalloc( heap, flags, len * sizeof(WCHAR) );
    903     memcpy( p, str, len );
     903    memcpy( p, str, len * sizeof(WCHAR) );
    904904    return p;
    905905}
Note: See TracChangeset for help on using the changeset viewer.