Changeset 252 for trunk/src/comctl32/header.c
- Timestamp:
- Jun 30, 1999, 5:52:19 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/header.c
r236 r252 1 /* $Id: header.c,v 1. 6 1999-06-28 15:46:24cbratschi Exp $ */1 /* $Id: header.c,v 1.7 1999-06-30 15:52:16 cbratschi Exp $ */ 2 2 /* 3 3 * Header control … … 598 598 if (phdi->mask & HDI_TEXT) { 599 599 if (lpItem->pszText != LPSTR_TEXTCALLBACKW) 600 lstrcpynWtoA (phdi->pszText, lpItem->pszText, MIN(phdi->cchTextMax,lstrlenW(lpItem->pszText)));600 lstrcpynWtoA (phdi->pszText, lpItem->pszText, phdi->cchTextMax); 601 601 else 602 602 phdi->pszText = LPSTR_TEXTCALLBACKA; … … 646 646 if (phdi->mask & HDI_TEXT) { 647 647 if (lpItem->pszText != LPSTR_TEXTCALLBACKW) 648 lstrcpynW (phdi->pszText, lpItem->pszText, MIN(phdi->cchTextMax,lstrlenW(lpItem->pszText)));648 lstrcpynW (phdi->pszText, lpItem->pszText, phdi->cchTextMax); 649 649 else 650 650 phdi->pszText = LPSTR_TEXTCALLBACKW;
Note:
See TracChangeset
for help on using the changeset viewer.