wininet: Return ERROR_CANCELLED for unsupported errors in InternetErrorDlg.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-08-31 20:10:29 +02:00 committed by Alexandre Julliard
parent 0eab766bce
commit 6cdccb2131
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ DWORD WINAPI InternetErrorDlg(HWND hWnd, HINTERNET hRequest,
res = ERROR_SUCCESS;
break;
default:
res = ERROR_NOT_SUPPORTED;
res = ERROR_CANCELLED;
}
if(req)