summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendlater.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-14 23:19:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-14 23:19:55 +0000
commitb74f4d512e0a03263ff30d13990a679f9e580fdb (patch)
treed01ce2dc72fe34d98c7c6dec7eb11f92ed1e5d44 /plugins/TabSRMM/src/sendlater.cpp
parent9cb9726232452d2b2cabf6913770e6f404cab952 (diff)
- fix for a nasty bug in tabSRMM popup headers;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@5696 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sendlater.cpp')
-rw-r--r--plugins/TabSRMM/src/sendlater.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/sendlater.cpp b/plugins/TabSRMM/src/sendlater.cpp
index 41658aaf49..339f12131e 100644
--- a/plugins/TabSRMM/src/sendlater.cpp
+++ b/plugins/TabSRMM/src/sendlater.cpp
@@ -58,12 +58,12 @@ bool CSendLaterJob::isPersistentJob()
bool CSendLaterJob::mustDelete()
{
if (fSuccess)
- return(true);
- else if (fFailed) {
- if (bCode == JOB_REMOVABLE)
- return(true);
- }
- return(false);
+ return true;;
+
+ if (fFailed && bCode == JOB_REMOVABLE)
+ return true;
+
+ return false;
}
/**
@@ -228,7 +228,7 @@ void CSendLater::startJobListProcess()
bool CSendLater::processCurrentJob()
{
if (m_sendLaterJobList.empty() || m_jobIterator == m_sendLaterJobList.end())
- return(false);
+ return false;
if ((*m_jobIterator)->fSuccess || (*m_jobIterator)->fFailed) {
if ((*m_jobIterator)->mustDelete()) {