shell32: Fix a bug in SHELL_ConfirmW.

Fix a bug introduced while changing the OK/Cancel to Yes/No.
This commit is contained in:
Mikołaj Zalewski 2006-08-25 21:33:28 +02:00 committed by Alexandre Julliard
parent 07700192a9
commit c1ca35d051

View file

@ -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)