Module: wine Branch: master Commit: c1ca35d051e59f21697a571a49b4faa5c9e98ab2 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=c1ca35d051e59f21697a571a...
Author: Mikołaj Zalewski mikolaj@zalewski.pl Date: Fri Aug 25 21:33:28 2006 +0200
shell32: Fix a bug in SHELL_ConfirmW.
Fix a bug introduced while changing the OK/Cancel to Yes/No.
---
dlls/shell32/shlfileop.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c index 6ea52b0..bff1b63 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -152,7 +152,7 @@ BOOL SHELL_ConfirmDialogW(HWND hWnd, int 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)