Changeset 1274 for cpp/common/Convert.cpp
- Timestamp:
- 09/09/23 15:12:57 (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/Convert.cpp
r1130 r1274 155 155 wstring wstr; 156 156 int nOffset = 0; 157 int nDataLen = strlen(str); //ending \0 is not converted, but resize() below sets the proper length of wstr157 int nDataLen = (int)strlen(str); //ending \0 is not converted, but resize() below sets the proper length of wstr 158 158 int nLenWide = MultiByteToWideChar(CP_UTF8, 0, (LPCSTR)(str + nOffset), 159 159 (int)(nDataLen - nOffset), NULL, 0);
Note: See TracChangeset
for help on using the changeset viewer.