diff --git a/xpinstall/wizard/windows/setup/dialogs.c b/xpinstall/wizard/windows/setup/dialogs.c index dea772fb1bc1..268c1f0a45d5 100644 --- a/xpinstall/wizard/windows/setup/dialogs.c +++ b/xpinstall/wizard/windows/setup/dialogs.c @@ -1732,14 +1732,11 @@ LRESULT CALLBACK DlgProcAdvancedSettings(HWND hDlg, UINT msg, WPARAM wParam, LON break; case IDWIZBACK: + case IDCANCEL: DestroyWindow(hDlg); PostMessage(hWndMain, WM_COMMAND, IDWIZBACK, 0); break; - case IDCANCEL: - AskCancelDlg(hDlg); - break; - default: break; }