summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-10-22 18:34:06 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-10-22 18:34:11 +0300
commitfacb19a65f291270f842fbf5b71a20ba4bd92d73 (patch)
treef03326f6550f3bde446937a33b254447dc5889a8
parent071041acb8dec661ce6e7c4ddad9caf14530793c (diff)
unneeded 'else' removed
-rw-r--r--src/mir_app/src/srmm_base.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp
index b6420f9d7b..aa286bd762 100644
--- a/src/mir_app/src/srmm_base.cpp
+++ b/src/mir_app/src/srmm_base.cpp
@@ -660,7 +660,8 @@ INT_PTR CSrmmBaseDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
LPNMHDR hdr = (LPNMHDR)lParam;
if (hdr->hwndFrom == m_pLog->GetHwnd())
m_pLog->Notify(wParam, lParam);
- else if (hdr->code == EN_MSGFILTER) {
+
+ if (hdr->code == EN_MSGFILTER) {
auto *F = ((MSGFILTER *)lParam);
if ((F->msg == WM_LBUTTONDOWN || F->msg == WM_KEYUP || F->msg == WM_LBUTTONUP) && F->nmhdr.idFrom == IDC_SRMM_MESSAGE) {
int bBold = IsDlgButtonChecked(m_hwnd, IDC_SRMM_BOLD);