From b6c1c9f09ada59b7f363b9f51e4a29fc15a7de37 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Mon, 2 Mar 2015 02:28:49 +0000 Subject: TabSRMM: wine fix for tab paint on mouse move, code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@12296 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msgdialog.cpp | 7 +++---- 1 file changed, 3 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 8945853bd9..6e992dacb1 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -2334,8 +2334,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP StreamInEvents(hwndDlg, wParam, 1, 1, NULL); return 0; - // replays queued events after the message log has been frozen for a while - case DM_REPLAYQUEUE: + case DM_REPLAYQUEUE: // replays queued events after the message log has been frozen for a while for (int i = 0; i < dat->iNextQueuedEvent; i++) if (dat->hQueuedEvents[i] != 0) StreamInEvents(hwndDlg, dat->hQueuedEvents[i], 1, 1, NULL); @@ -2384,7 +2383,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP // for single message sends: basevalue (TIMERID_MSGSEND) + send queue index if (wParam >= TIMERID_MSGSEND) { int iIndex = wParam - TIMERID_MSGSEND; - if (iIndex < SendQueue::NR_SENDJOBS) { // single sendjob timer + if (iIndex < SendQueue::NR_SENDJOBS) { // single sendjob timer SendJob *job = sendQueue->getJobByIndex(iIndex); KillTimer(hwndDlg, wParam); mir_sntprintf(job->szErrorMsg, SIZEOF(job->szErrorMsg), TranslateT("Delivery failure: %s"), @@ -2415,7 +2414,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP if (dat->dwFlags & MWF_ERRORSTATE) { dat->cache->saveHistory(0, 0); if (wParam == MSGERROR_SENDLATER) - sendQueue->doSendLater(dat->iCurrentQueueError, dat); // to be implemented at a later time + sendQueue->doSendLater(dat->iCurrentQueueError, dat); // to be implemented at a later time dat->iOpenJobs--; sendQueue->dec(); if (dat->iCurrentQueueError >= 0 && dat->iCurrentQueueError < SendQueue::NR_SENDJOBS) -- cgit v1.2.3