Sometimes the text on a tab control got truncated.
This commit is contained in:
parent
318832ea8e
commit
39b4e098b3
|
@ -1352,7 +1352,7 @@ TAB_SetItemA (HWND hwnd, WPARAM wParam, LPARAM lParam)
|
|||
len=lstrlenA (tabItem->pszText);
|
||||
if (len>wineItem->cchTextMax)
|
||||
wineItem->pszText= COMCTL32_ReAlloc (wineItem->pszText, len+1);
|
||||
lstrcpynA (wineItem->pszText, tabItem->pszText, len);
|
||||
lstrcpyA (wineItem->pszText, tabItem->pszText);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in New Issue