From b3cbd75fb723cb396ad49b528e39df0b25c4c3f7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Jun 2014 18:26:00 +0000 Subject: code reordering git-svn-id: http://svn.miranda-ng.org/main/trunk@9413 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgdialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM/src/msgdialog.cpp') 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; } } } -- cgit v1.2.3