Commit 6f42f596 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

comdlg32: No and escape are equivalent.

parent 9aa9a122
......@@ -2303,7 +2303,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
LoadStringW(COMDLG32_hInstance, IDS_OVERWRITEFILE, lpstrOverwrite, 100);
answer = MessageBoxW(hwnd, lpstrOverwrite, fodInfos->title,
MB_YESNO | MB_ICONEXCLAMATION);
if (answer == IDNO)
if (answer == IDNO || answer == IDCANCEL)
{
ret = FALSE;
goto ret;
......@@ -2321,7 +2321,7 @@ BOOL FILEDLG95_OnOpen(HWND hwnd)
LoadStringW(COMDLG32_hInstance, IDS_CREATEFILE, lpstrCreate, 100);
answer = MessageBoxW(hwnd, lpstrCreate, fodInfos->title,
MB_YESNO | MB_ICONEXCLAMATION);
if (answer == IDNO)
if (answer == IDNO || answer == IDCANCEL)
{
ret = FALSE;
goto ret;
......
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