Changeset 21073
- Timestamp:
- Mar 18, 2004, 12:13:41 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/kernel32/heapstring.cpp ¶
r20727 r21073 1 /* $Id: heapstring.cpp,v 1.5 4 2003-07-31 15:59:49sandervl Exp $ */1 /* $Id: heapstring.cpp,v 1.55 2004-03-18 11:13:41 sandervl Exp $ */ 2 2 /* 3 3 * Project Odin Software License can be found in LICENSE.TXT … … 901 901 INT len = lstrlenW(str) + 1; 902 902 LPWSTR p = (LPWSTR)HEAP_xalloc( heap, flags, len * sizeof(WCHAR) ); 903 memcpy( p, str, len );903 memcpy( p, str, len * sizeof(WCHAR) ); 904 904 return p; 905 905 }
Note:
See TracChangeset
for help on using the changeset viewer.