mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:13:56 +00:00
Do not assign to casted values.
This commit is contained in:
parent
e42d8aef24
commit
553b0fca1f
1 changed files with 2 additions and 2 deletions
|
@ -84,11 +84,11 @@ static INT_PTR CALLBACK SHDlgProcEx(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM
|
|||
switch (LOWORD(wParam))
|
||||
{
|
||||
case IDYES:
|
||||
LOWORD(wParam) = IDOK;
|
||||
wParam = MAKELONG(IDOK, HIWORD(wParam));
|
||||
/* Fall through ... */
|
||||
case IDNO:
|
||||
if (LOWORD(wParam) == IDNO)
|
||||
LOWORD(wParam) = IDCANCEL;
|
||||
wParam = MAKELONG(IDCANCEL, HIWORD(wParam));
|
||||
/* Fall through ... */
|
||||
case IDOK:
|
||||
case IDCANCEL:
|
||||
|
|
Loading…
Reference in a new issue