mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
Sometimes the text on a tab control got truncated.
This commit is contained in:
parent
318832ea8e
commit
39b4e098b3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue