Changeset 21512 for trunk/src/shlwapi/string.c
- Timestamp:
- Dec 6, 2010, 5:24:51 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shlwapi/string.c
r8584 r21512 490 490 break; 491 491 492 case STRRET_CSTR A:492 case STRRET_CSTR: 493 493 lstrcpynA((LPSTR)dest, src->u.cStr, len); 494 494 break; 495 495 496 case STRRET_OFFSET A:496 case STRRET_OFFSET: 497 497 lstrcpynA((LPSTR)dest, ((LPCSTR)&pidl->mkid)+src->u.uOffset, len); 498 498 break; … … 535 535 break; 536 536 537 case STRRET_CSTR A:537 case STRRET_CSTR: 538 538 if (!MultiByteToWideChar( CP_ACP, 0, src->u.cStr, -1, dest, len ) && len) 539 539 dest[len-1] = 0; 540 540 break; 541 541 542 case STRRET_OFFSET A:542 case STRRET_OFFSET: 543 543 if (pidl) 544 544 {
Note:
See TracChangeset
for help on using the changeset viewer.