From f011f3aadeead36afe5b923a42cea5a1c883bf7d Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Wed, 30 Jun 2021 12:09:52 +0200 Subject: Core: Empty system history (#2914) Changed MB_YESNOCANCEL to MB_YESNO, as No and Cancel behave the same way. --- src/mir_app/src/srmm_statusicon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mir_app/src/srmm_statusicon.cpp b/src/mir_app/src/srmm_statusicon.cpp index 739d2074d3..3edb291f2e 100644 --- a/src/mir_app/src/srmm_statusicon.cpp +++ b/src/mir_app/src/srmm_statusicon.cpp @@ -272,7 +272,7 @@ static HGENMENU hmiEmpty; static INT_PTR svcEmptyHistory(WPARAM hContact, LPARAM) { - if (IDYES != MessageBoxW(nullptr, TranslateT("Are you sure to remove all events from history?"), L"Miranda", MB_YESNOCANCEL | MB_ICONQUESTION)) + if (IDYES != MessageBoxW(nullptr, TranslateT("Are you sure to remove all events from history?"), L"Miranda", MB_YESNO | MB_ICONQUESTION)) return 1; DB::ECPTR pCursor(DB::Events(hContact)); -- cgit v1.2.3