mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
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
Block a user