Removed a couple of unneeded casts.

This commit is contained in:
Eric Pouech 2005-04-18 09:50:45 +00:00 committed by Alexandre Julliard
parent 58a4fb9ef0
commit 69a4eedd3f
2 changed files with 3 additions and 3 deletions

View File

@ -135,8 +135,8 @@ static BOOL CALLBACK DIALOG_COPY_MOVE_DlgProc(HWND hDlg, UINT msg, WPARAM wParam
SendDlgItemMessage(hDlg, PM_TO_GROUP, CB_ADDSTRING, 0, SendDlgItemMessage(hDlg, PM_TO_GROUP, CB_ADDSTRING, 0,
(LPARAM) GROUP_GroupName(hGroup)); (LPARAM) GROUP_GroupName(hGroup));
SetDlgItemText(hDlg, PM_PROGRAM, (LPSTR)CopyMove.lpszProgramName); SetDlgItemText(hDlg, PM_PROGRAM, CopyMove.lpszProgramName);
SetDlgItemText(hDlg, PM_FROM_GROUP, (LPSTR)CopyMove.lpszFromGroupName); SetDlgItemText(hDlg, PM_FROM_GROUP, CopyMove.lpszFromGroupName);
break; break;
case WM_COMMAND: case WM_COMMAND:

View File

@ -214,7 +214,7 @@ HLOCAL PROGRAM_AddProgram(HLOCAL hGroup, HICON hIcon, LPCSTR lpszName,
program->nHotKey = nHotKey; program->nHotKey = nHotKey;
program->hWnd = program->hWnd =
CreateWindow (STRING_PROGRAM_WIN_CLASS_NAME, (LPSTR)lpszName, CreateWindow (STRING_PROGRAM_WIN_CLASS_NAME, lpszName,
WS_CHILD | WS_CAPTION, WS_CHILD | WS_CAPTION,
x, y, CW_USEDEFAULT, CW_USEDEFAULT, x, y, CW_USEDEFAULT, CW_USEDEFAULT,
group->hWnd, 0, Globals.hInstance, 0); group->hWnd, 0, Globals.hInstance, 0);