summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2021-02-07 19:53:56 +0300
committerdartraiden <wowemuh@gmail.com>2021-02-07 19:53:56 +0300
commitac7cebb7d2457b3fbf13143b08924d491aa1ac80 (patch)
treed8174af62deb9c0eea75b1e8dfece083d5e2f7f6 /plugins
parentdf79bab262f17eadfe072bdb1ac8f0075694dbe2 (diff)
This has already been checked before
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/controls.cpp2
-rw-r--r--plugins/TabSRMM/src/eventpopups.cpp2
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp2
3 files changed, 2 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/controls.cpp b/plugins/TabSRMM/src/controls.cpp
index 23a2f6de20..94d1b72dd3 100644
--- a/plugins/TabSRMM/src/controls.cpp
+++ b/plugins/TabSRMM/src/controls.cpp
@@ -329,8 +329,6 @@ LONG_PTR CMenuBar::customDrawWorker(NMCUSTOMDRAW *nm)
case CDDS_ITEMPOSTERASE:
case CDDS_ITEMPOSTPAINT:
case CDDS_ITEMPREERASE:
- return CDRF_SKIPDEFAULT;
-
case CDDS_POSTERASE:
return CDRF_SKIPDEFAULT;
diff --git a/plugins/TabSRMM/src/eventpopups.cpp b/plugins/TabSRMM/src/eventpopups.cpp
index e60463dac4..fd2538208a 100644
--- a/plugins/TabSRMM/src/eventpopups.cpp
+++ b/plugins/TabSRMM/src/eventpopups.cpp
@@ -741,7 +741,7 @@ int tabSRMM_ShowPopup(MCONTACT hContact, MEVENT hDbEvent, WORD eventType, int wi
// message window is open, need to check the container config if we want to see a popup nonetheless
if (windowOpen && pContainer != nullptr) {
- if (nen_options.bWindowCheck && windowOpen) // no popups at all for open windows... no exceptions
+ if (nen_options.bWindowCheck) // no popups at all for open windows... no exceptions
return 0;
if (pContainer->m_flags.m_bDontReport && (IsIconic(pContainer->m_hwnd))) // in tray counts as "minimised"
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 8a09bd4c2f..f60a72c4fa 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -2040,7 +2040,7 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
else m_iLastEnterTime = 0;
if (isCtrl && !isAlt && !isShift) {
- if (!isShift && (wParam == VK_UP || wParam == VK_DOWN)) { // input history scrolling (ctrl-up / down)
+ if (wParam == VK_UP || wParam == VK_DOWN) { // input history scrolling (ctrl-up / down)
m_iLastEnterTime = 0;
m_cache->inputHistoryEvent(wParam);
return 0;