From 35eaa182969aae253ccc7120af1bb966e38576d3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 15 Apr 2016 19:09:41 +0000 Subject: clists code cleaning & optimization git-svn-id: http://svn.miranda-ng.org/main/trunk@16668 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Clist_modern/src/modern_clc.cpp') diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index 99703afe5f..fb79cbd2b0 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -1500,7 +1500,7 @@ static LRESULT clcOnIntmNameChanged(ClcData *dat, HWND hwnd, UINT msg, WPARAM wP if (contact) { mir_tstrncpy(contact->szText, pcli->pfnGetContactDisplayName(wParam, 0), _countof(contact->szText)); Cache_GetText(dat, contact, 1); - cliRecalcScrollBar(hwnd, dat); + // cliRecalcScrollBar(hwnd, dat); } dat->needsResort = 1; @@ -1523,7 +1523,7 @@ static LRESULT clcOnIntmStatusMsgChanged(ClcData *dat, HWND hwnd, UINT msg, WPAR if (contact) { Cache_GetText(dat, contact, 1); - cliRecalcScrollBar(hwnd, dat); + // cliRecalcScrollBar(hwnd, dat); PostMessage(hwnd, INTM_INVALIDATE, 0, 0); } return corecli.pfnContactListControlWndProc(hwnd, msg, hContact, lParam); -- cgit v1.2.3