summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msglog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/msglog.cpp')
-rw-r--r--plugins/TabSRMM/src/msglog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp
index 94d10c83eb..b4143a69a6 100644
--- a/plugins/TabSRMM/src/msglog.cpp
+++ b/plugins/TabSRMM/src/msglog.cpp
@@ -1090,7 +1090,8 @@ INT_PTR CLogWindow::WndProc(UINT msg, WPARAM wParam, LPARAM lParam)
POINT pt = { LOWORD(lParam), HIWORD(lParam) };
CheckCustomLink(m_rtf.GetHwnd(), &pt, msg, wParam, lParam, TRUE);
}
- if (M.GetByte("autocopy", 1)) {
+
+ if (g_plugin.bAutoCopy) {
CHARRANGE sel;
SendMessage(m_rtf.GetHwnd(), EM_EXGETSEL, 0, (LPARAM)&sel);
if (sel.cpMin != sel.cpMax) {