diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-04 18:26:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-04 18:26:00 +0000 |
commit | b3cbd75fb723cb396ad49b528e39df0b25c4c3f7 (patch) | |
tree | 696b50c3121dc8211be622523d07d4c91fb9a769 /plugins/TabSRMM/src/msgdialog.cpp | |
parent | b3f2dd6e7b0ee526c8272fe8ad48cbeb4f51885a (diff) |
code reordering
git-svn-id: http://svn.miranda-ng.org/main/trunk@9413 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index b3b6ee785e..3de6b4a4cd 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -2569,10 +2569,10 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP dat->cache->saveHistory(0, 0);
if (dat->iCurrentQueueError >= 0 && dat->iCurrentQueueError < SendQueue::NR_SENDJOBS) {
SendJob *job = sendQueue->getJobByIndex(dat->iCurrentQueueError);
- if (job->hSendId == 0 && job->hOwner == 0)
+ if (job->hSendId == 0 && job->hContact == 0)
break;
- job->hSendId = (HANDLE)CallContactService(job->hOwner, PSS_MESSAGE,
+ job->hSendId = (HANDLE)CallContactService(job->hContact, PSS_MESSAGE,
(dat->sendMode & SMODE_FORCEANSI) ? (job->dwFlags & ~PREF_UNICODE) : job->dwFlags, (LPARAM)job->szSendBuffer);
resent++;
}
@@ -3435,7 +3435,7 @@ quote_from_last: SendJob *jobs = sendQueue->getJobByIndex(0);
for (int i = 0; i < SendQueue::NR_SENDJOBS; i++) {
- if (jobs[i].hOwner == dat->hContact) {
+ if (jobs[i].hContact == dat->hContact) {
if (jobs[i].iStatus >(unsigned)SendQueue::SQ_INPROGRESS)
sendQueue->clearJob(i);
@@ -3443,7 +3443,7 @@ quote_from_last: // the hwndOwner is set to 0 because the window handle is now no longer valid.
// Response for such a job is still silently handled by AckMessage() (sendqueue.c)
if (jobs[i].iStatus == (unsigned)SendQueue::SQ_INPROGRESS)
- jobs[i].hwndOwner = 0;
+ jobs[i].hOwnerWnd = 0;
}
}
}
|