mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:27:35 +00:00
shell32: Fix a bug in SHELL_ConfirmW.
Fix a bug introduced while changing the OK/Cancel to Yes/No.
This commit is contained in:
parent
07700192a9
commit
c1ca35d051
1 changed files with 1 additions and 1 deletions
|
@ -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(¶ms));
|
||||
return (IDYES == MessageBoxIndirectW(¶ms));
|
||||
}
|
||||
|
||||
static DWORD SHELL32_AnsiToUnicodeBuf(LPCSTR aPath, LPWSTR *wPath, DWORD minChars)
|
||||
|
|
Loading…
Reference in a new issue