Ignore:
Timestamp:
Jun 30, 1999, 5:52:19 PM (26 years ago)
Author:
cbratschi
Message:

unicode and other changes

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:24 cbratschi Exp $ */
     1/* $Id: header.c,v 1.7 1999-06-30 15:52:16 cbratschi Exp $ */
    22/*
    33 *  Header control
     
    598598    if (phdi->mask & HDI_TEXT) {
    599599        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);
    601601        else
    602602            phdi->pszText = LPSTR_TEXTCALLBACKA;
     
    646646    if (phdi->mask & HDI_TEXT) {
    647647        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);
    649649        else
    650650            phdi->pszText = LPSTR_TEXTCALLBACKW;
Note: See TracChangeset for help on using the changeset viewer.