summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat/window.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-13 20:27:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-13 20:27:43 +0300
commit4770a5e9184ded282139e66782afdd6d04010ee5 (patch)
tree685c8ec059777d343b14812dd6bb748422ed2ee8 /plugins/Scriver/src/chat/window.cpp
parentbc382bfeb00236e2dbbb143cfe35dd3716a2f7e2 (diff)
common chat code moved to the core
Diffstat (limited to 'plugins/Scriver/src/chat/window.cpp')
-rw-r--r--plugins/Scriver/src/chat/window.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp
index 8c503be2c7..f65ec5a5f5 100644
--- a/plugins/Scriver/src/chat/window.cpp
+++ b/plugins/Scriver/src/chat/window.cpp
@@ -903,7 +903,7 @@ static void __cdecl phase2(void *lParam)
SESSION_INFO *si = (SESSION_INFO*)lParam;
Sleep(30);
if (si && si->hWnd)
- PostMessage(si->hWnd, GC_REDRAWLOG3, 0, 0);
+ PostMessage(si->hWnd, GC_REDRAWLOG2, 0, 0);
}
static INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
@@ -1140,12 +1140,6 @@ static INT_PTR CALLBACK RoomWndProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR
Log_StreamInEvent(hwndDlg, si->pLogEnd, si, TRUE);
break;
- case GC_REDRAWLOG3:
- si->LastTime = 0;
- if (si->pLog)
- Log_StreamInEvent(hwndDlg, si->pLogEnd, si, TRUE);
- break;
-
case GC_ADDLOG:
if (si->pLogEnd)
Log_StreamInEvent(hwndDlg, si->pLog, si, FALSE);