taskmgr: Fix some gcc 4.1 warnings.
This commit is contained in:
parent
489d61348a
commit
2d8459575e
|
@ -504,17 +504,17 @@ BOOL OnCreate(HWND hWnd)
|
|||
memset(&item, 0, sizeof(TCITEM));
|
||||
item.mask = TCIF_TEXT;
|
||||
item.pszText = szTemp;
|
||||
TabCtrl_InsertItem(hTabWnd, 0, &item);
|
||||
SendMessage(hTabWnd, TCM_INSERTITEM, 0, (LPARAM)&item);
|
||||
_tcscpy(szTemp, _T("Processes"));
|
||||
memset(&item, 0, sizeof(TCITEM));
|
||||
item.mask = TCIF_TEXT;
|
||||
item.pszText = szTemp;
|
||||
TabCtrl_InsertItem(hTabWnd, 1, &item);
|
||||
SendMessage(hTabWnd, TCM_INSERTITEM, 1, (LPARAM)&item);
|
||||
_tcscpy(szTemp, _T("Performance"));
|
||||
memset(&item, 0, sizeof(TCITEM));
|
||||
item.mask = TCIF_TEXT;
|
||||
item.pszText = szTemp;
|
||||
TabCtrl_InsertItem(hTabWnd, 2, &item);
|
||||
SendMessage(hTabWnd, TCM_INSERTITEM, 2, (LPARAM)&item);
|
||||
|
||||
/* Size everything correctly */
|
||||
GetClientRect(hWnd, &rc);
|
||||
|
|
Loading…
Reference in New Issue