Removed a couple of unneeded casts.
This commit is contained in:
parent
58a4fb9ef0
commit
69a4eedd3f
|
@ -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,
|
||||
(LPARAM) GROUP_GroupName(hGroup));
|
||||
|
||||
SetDlgItemText(hDlg, PM_PROGRAM, (LPSTR)CopyMove.lpszProgramName);
|
||||
SetDlgItemText(hDlg, PM_FROM_GROUP, (LPSTR)CopyMove.lpszFromGroupName);
|
||||
SetDlgItemText(hDlg, PM_PROGRAM, CopyMove.lpszProgramName);
|
||||
SetDlgItemText(hDlg, PM_FROM_GROUP, CopyMove.lpszFromGroupName);
|
||||
break;
|
||||
|
||||
case WM_COMMAND:
|
||||
|
|
|
@ -214,7 +214,7 @@ HLOCAL PROGRAM_AddProgram(HLOCAL hGroup, HICON hIcon, LPCSTR lpszName,
|
|||
program->nHotKey = nHotKey;
|
||||
|
||||
program->hWnd =
|
||||
CreateWindow (STRING_PROGRAM_WIN_CLASS_NAME, (LPSTR)lpszName,
|
||||
CreateWindow (STRING_PROGRAM_WIN_CLASS_NAME, lpszName,
|
||||
WS_CHILD | WS_CAPTION,
|
||||
x, y, CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
group->hWnd, 0, Globals.hInstance, 0);
|
||||
|
|
Loading…
Reference in New Issue