Changeset 917 for trunk/src/kernel32/unicode.cpp
- Timestamp:
- Sep 13, 1999, 11:06:05 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/unicode.cpp
r571 r917 1 /* $Id: unicode.cpp,v 1.1 3 1999-08-19 10:25:27sandervl Exp $ */1 /* $Id: unicode.cpp,v 1.14 1999-09-13 09:06:05 sandervl Exp $ */ 2 2 3 3 /* … … 56 56 } 57 57 if(cchWideChar == 0) {//return space required for conversion 58 if(cchMultiByte == -1) cchMultiByte = strlen(lpMultiByteStr); 58 if(cchMultiByte == -1) 59 cchMultiByte = strlen(lpMultiByteStr) + 1; 59 60 return(cchMultiByte); //return length in wide chars 60 61 } 61 62 if(cchMultiByte == -1) 62 cchMultiByte = strlen(lpMultiByteStr) ;63 cchMultiByte = strlen(lpMultiByteStr) + 1; 63 64 64 65 len = min(cchWideChar, cchMultiByte);
Note:
See TracChangeset
for help on using the changeset viewer.