Changeset 4525 for trunk/src/kernel32/conbuffer.cpp
- Timestamp:
- Oct 23, 2000, 9:35:11 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/conbuffer.cpp
r4502 r4525 1 /* $Id: conbuffer.cpp,v 1.1 3 2000-10-20 11:46:44sandervl Exp $ */1 /* $Id: conbuffer.cpp,v 1.14 2000-10-23 19:35:09 sandervl Exp $ */ 2 2 3 3 /* … … 2538 2538 2539 2539 /* Ascii -> unicode translation */ 2540 pszAscii = (LPSTR)HEAP_malloc(cchToWrite );2540 pszAscii = (LPSTR)HEAP_malloc(cchToWrite+1); 2541 2541 if (pszAscii == NULL) 2542 2542 return ERROR_NOT_ENOUGH_MEMORY; 2543 2543 2544 lstrcpynWtoA(pszAscii, (LPWSTR)lpvBuffer, cchToWrite );2544 lstrcpynWtoA(pszAscii, (LPWSTR)lpvBuffer, cchToWrite+1); 2545 2545 2546 2546 /* simply forward the request to that routine */
Note:
See TracChangeset
for help on using the changeset viewer.