summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/Modules/m_message.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-10-17 00:52:30 +0300
committeraunsane <aunsane@gmail.com>2018-10-17 00:52:44 +0300
commite487efd9f7383fb73d00c0622923542b831b05a3 (patch)
tree43f47cc5220267bcec6711f718b94920e1b557a9 /plugins/MirLua/src/Modules/m_message.cpp
parente4df28b4a013cc44febf9ee9075c7601d8ed857d (diff)
MirLua:
- refactoring of winapi module - m_message - fix to paste in private message log - m_srmm - add hWnd to CustomButtonClickData
Diffstat (limited to 'plugins/MirLua/src/Modules/m_message.cpp')
-rw-r--r--plugins/MirLua/src/Modules/m_message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/Modules/m_message.cpp b/plugins/MirLua/src/Modules/m_message.cpp
index c369237796..b1e562b5dc 100644
--- a/plugins/MirLua/src/Modules/m_message.cpp
+++ b/plugins/MirLua/src/Modules/m_message.cpp
@@ -11,7 +11,7 @@ static int message_Paste(lua_State *L)
if (res)
return 1;
- HWND hEdit = GetDlgItem(mwd.hwndWindow, 1002 /*IDC_MESSAGE*/);
+ HWND hEdit = GetDlgItem(mwd.hwndWindow, 3012 /*IDC_MESSAGE*/);
if (!hEdit) hEdit = GetDlgItem(mwd.hwndWindow, 1009 /*IDC_CHATMESSAGE*/);
SendMessage(hEdit, EM_REPLACESEL, TRUE, (LPARAM)text);