From 39b4e098b312cd034d2eedd60d372ed8d477848b Mon Sep 17 00:00:00 2001 From: Abey George Date: Sat, 10 Jul 1999 11:35:20 +0000 Subject: [PATCH] Sometimes the text on a tab control got truncated. --- dlls/comctl32/tab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c index 82cb4dd3c78..03ccef78ab2 100644 --- a/dlls/comctl32/tab.c +++ b/dlls/comctl32/tab.c @@ -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;