summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-12-13 13:02:37 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-12-13 13:02:37 +0300
commitcfcb2e7f5374d3becb43acde17ff163503038886 (patch)
tree7d38de453fdd780aad900a00a611a8c4490dbb0b
parent962ef1f3c0de62acfd990b438ea3dc65f09fc4fc (diff)
fixes 'Copy all' behaviour for #1062
-rw-r--r--src/mir_app/src/srmm_base.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mir_app/src/srmm_base.cpp b/src/mir_app/src/srmm_base.cpp
index db80ec8f33..2d3c5ea8dc 100644
--- a/src/mir_app/src/srmm_base.cpp
+++ b/src/mir_app/src/srmm_base.cpp
@@ -246,10 +246,10 @@ LRESULT CSrmmBaseDialog::WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam)
break;
case IDM_COPYALL:
- m_message.SendMsg(EM_EXGETSEL, 0, (LPARAM)&sel);
- m_message.SendMsg(EM_EXSETSEL, 0, (LPARAM)&all);
- m_message.SendMsg(WM_COPY, 0, 0);
- m_message.SendMsg(EM_EXSETSEL, 0, (LPARAM)&sel);
+ m_log.SendMsg(EM_EXGETSEL, 0, (LPARAM)&sel);
+ m_log.SendMsg(EM_EXSETSEL, 0, (LPARAM)&all);
+ m_log.SendMsg(WM_COPY, 0, 0);
+ m_log.SendMsg(EM_EXSETSEL, 0, (LPARAM)&sel);
PostMessage(m_hwnd, WM_MOUSEACTIVATE, 0, 0);
break;