Changeset 73 for trunk/src/comctl32/header.c
- Timestamp:
- Jun 9, 1999, 3:54:51 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/header.c
r69 r73 596 596 if (phdi->mask & HDI_TEXT) { 597 597 if (lpItem->pszText != LPSTR_TEXTCALLBACKW) 598 // lstrcpynWtoA (phdi->pszText, lpItem->pszText, phdi->cchTextMax); 599 strncpy(phdi->pszText, lpItem->pszText, phdi->cchTextMax); 598 lstrcpynWtoA (phdi->pszText, lpItem->pszText, phdi->cchTextMax); 600 599 else 601 600 phdi->pszText = LPSTR_TEXTCALLBACKA; … … 768 767 len = lstrlenA (phdi->pszText); 769 768 lpItem->pszText = COMCTL32_Alloc ((len+1)*sizeof(WCHAR)); 770 // lstrcpyAtoW (lpItem->pszText, phdi->pszText); 771 AsciiToUnicode(phdi->pszText, lpItem->pszText); 769 lstrcpyAtoW (lpItem->pszText, phdi->pszText); 772 770 } 773 771 else … … 976 974 INT len = lstrlenA (phdi->pszText); 977 975 lpItem->pszText = COMCTL32_Alloc ((len+1)*sizeof(WCHAR)); 978 // lstrcpyAtoW (lpItem->pszText, phdi->pszText); 979 AsciiToUnicode(phdi->pszText, lpItem->pszText); 976 lstrcpyAtoW (lpItem->pszText, phdi->pszText); 980 977 } 981 978 }
Note:
See TracChangeset
for help on using the changeset viewer.