Changeset 4525 for trunk/src/kernel32/conin.cpp
- Timestamp:
- Oct 23, 2000, 9:35:11 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/conin.cpp
r4502 r4525 1 /* $Id: conin.cpp,v 1.1 3 2000-10-20 11:46:45sandervl Exp $ */1 /* $Id: conin.cpp,v 1.14 2000-10-23 19:35:10 sandervl Exp $ */ 2 2 3 3 /* … … 37 37 #include <misc.h> 38 38 #include <string.h> 39 #include <stdlib.h> 39 40 40 41 #include "conwin.h" // Windows Header for console only … … 745 746 /* Ascii -> unicode translation */ 746 747 if (dwResult == TRUE) 747 lstrcpynAtoW((LPWSTR)lpvBuffer, lpstrAscii, *lpcchRead);748 lstrcpynAtoW((LPWSTR)lpvBuffer, lpstrAscii, min(cchToRead, *lpcchRead+1)); 748 749 749 750 HEAP_free(lpstrAscii);
Note:
See TracChangeset
for help on using the changeset viewer.