Updated 7Zip moz modifications to sfx code - Bug 396050 - [7zip] Unnecessary Button provided by the 7-Zip SEA (self extracting archive). r=bbondy

This commit is contained in:
Robert Strong 2014-04-16 22:42:15 -07:00
parent 8c913ba663
commit ce8c01ce95

View File

@ -164,9 +164,9 @@ bool CProgressDialog::OnButtonClicked(int buttonID, HWND buttonHWND)
ProgressSynch.SetPaused(true);
int res = ::MessageBoxW(HWND(*this),
L"Are you sure you want to cancel?",
_title, MB_YESNOCANCEL);
_title, MB_YESNO);
ProgressSynch.SetPaused(paused);
if (res == IDCANCEL || res == IDNO)
if (res == IDNO)
return true;
break;
}