diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-22 18:34:06 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-22 18:34:11 +0300 |
commit | facb19a65f291270f842fbf5b71a20ba4bd92d73 (patch) | |
tree | f03326f6550f3bde446937a33b254447dc5889a8 /src/mir_app | |
parent | 071041acb8dec661ce6e7c4ddad9caf14530793c (diff) |
unneeded 'else' removed
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/srmm_base.cpp | 3 |
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);
|