Commit 553b0fca authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Do not assign to casted values.

parent e42d8aef
......@@ -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:
......
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