diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-14 23:19:55 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-14 23:19:55 +0000 |
commit | b74f4d512e0a03263ff30d13990a679f9e580fdb (patch) | |
tree | d01ce2dc72fe34d98c7c6dec7eb11f92ed1e5d44 /plugins/TabSRMM/src/sendlater.cpp | |
parent | 9cb9726232452d2b2cabf6913770e6f404cab952 (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.cpp | 14 |
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()) {
|