Commit 2d845957 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

taskmgr: Fix some gcc 4.1 warnings.

parent 489d6134
...@@ -504,17 +504,17 @@ BOOL OnCreate(HWND hWnd) ...@@ -504,17 +504,17 @@ BOOL OnCreate(HWND hWnd)
memset(&item, 0, sizeof(TCITEM)); memset(&item, 0, sizeof(TCITEM));
item.mask = TCIF_TEXT; item.mask = TCIF_TEXT;
item.pszText = szTemp; item.pszText = szTemp;
TabCtrl_InsertItem(hTabWnd, 0, &item); SendMessage(hTabWnd, TCM_INSERTITEM, 0, (LPARAM)&item);
_tcscpy(szTemp, _T("Processes")); _tcscpy(szTemp, _T("Processes"));
memset(&item, 0, sizeof(TCITEM)); memset(&item, 0, sizeof(TCITEM));
item.mask = TCIF_TEXT; item.mask = TCIF_TEXT;
item.pszText = szTemp; item.pszText = szTemp;
TabCtrl_InsertItem(hTabWnd, 1, &item); SendMessage(hTabWnd, TCM_INSERTITEM, 1, (LPARAM)&item);
_tcscpy(szTemp, _T("Performance")); _tcscpy(szTemp, _T("Performance"));
memset(&item, 0, sizeof(TCITEM)); memset(&item, 0, sizeof(TCITEM));
item.mask = TCIF_TEXT; item.mask = TCIF_TEXT;
item.pszText = szTemp; item.pszText = szTemp;
TabCtrl_InsertItem(hTabWnd, 2, &item); SendMessage(hTabWnd, TCM_INSERTITEM, 2, (LPARAM)&item);
/* Size everything correctly */ /* Size everything correctly */
GetClientRect(hWnd, &rc); GetClientRect(hWnd, &rc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment