From 3ca957f62978a14b97949a28fcb6d45c3a91e3ef Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 18 Feb 2013 20:29:54 +0000 Subject: more correct version of autocopy enabling as default git-svn-id: http://svn.miranda-ng.org/main/trunk@3632 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/chat/window.cpp') diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp index 47a8f6b536..aab6ad6da4 100644 --- a/plugins/TabSRMM/src/chat/window.cpp +++ b/plugins/TabSRMM/src/chat/window.cpp @@ -1370,7 +1370,7 @@ static LRESULT CALLBACK LogSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR POINT pt={LOWORD(lParam), HIWORD(lParam)}; CheckCustomLink(hwnd, &pt, msg, wParam, lParam, TRUE); } - if (M->GetByte("autocopy", 0)) { + if (M->GetByte("autocopy", 1)) { SendMessage(hwnd, EM_EXGETSEL, 0, (LPARAM) &sel); if (sel.cpMin != sel.cpMax) { SendMessage(hwnd, WM_COPY, 0, 0); -- cgit v1.2.3