Commit c1ca35d0 authored by Mikołaj Zalewski's avatar Mikołaj Zalewski Committed by Alexandre Julliard

shell32: Fix a bug in SHELL_ConfirmW.

Fix a bug introduced while changing the OK/Cancel to Yes/No.
parent 07700192
......@@ -152,7 +152,7 @@ BOOL SHELL_ConfirmDialogW(HWND hWnd, int nKindOfDialog, LPCWSTR szDir)
params.lpszIcon = (LPWSTR)MAKEINTRESOURCE(ids.icon_resource_id);
params.dwStyle = MB_YESNO | MB_USERICON;
return (IDOK == MessageBoxIndirectW(&params));
return (IDYES == MessageBoxIndirectW(&params));
}
static DWORD SHELL32_AnsiToUnicodeBuf(LPCSTR aPath, LPWSTR *wPath, DWORD minChars)
......
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