summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@gmail.com>2021-06-30 12:09:52 +0200
committerGitHub <noreply@github.com>2021-06-30 12:09:52 +0200
commitf011f3aadeead36afe5b923a42cea5a1c883bf7d (patch)
treeafd32457d50d83b9806344d80aa3618090a067e3
parent3de0795ad8fc34808e0444304b1fbc3888cc7f8f (diff)
Core: Empty system history (#2914)
Changed MB_YESNOCANCEL to MB_YESNO, as No and Cancel behave the same way.
-rw-r--r--src/mir_app/src/srmm_statusicon.cpp2
1 files changed, 1 insertions, 1 deletions
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));