summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2021-03-07 23:59:23 +0300
committerdartraiden <wowemuh@gmail.com>2021-03-07 23:59:23 +0300
commit1cabb213f95399a6c179924d0a92dd4c8289486a (patch)
tree0deb196a888eedc0f0979f9fde4b0542c4be3334 /plugins
parent89d45301da1e32b63fc29ee2f5ee05c4af313fbc (diff)
Simplify condition
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index c0e59221a8..a856dbfcad 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -1306,7 +1306,7 @@ void CMsgDialog::DM_ErrorDetected(int type, int flag)
sendQueue->clearJob(m_iCurrentQueueError);
m_iCurrentQueueError = -1;
sendQueue->showErrorControls(this, FALSE);
- if (type != MSGERROR_CANCEL || (type == MSGERROR_CANCEL && flag == 0))
+ if (type != MSGERROR_CANCEL || flag == 0)
m_message.SetText(L"");
sendQueue->checkQueue(this);
int iNextFailed = sendQueue->findNextFailed(this);