diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-28 14:55:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-28 14:55:06 +0300 |
commit | 1e49d6b2cb3812d8e80051cbb3d44891e6532825 (patch) | |
tree | 2ffb8e36641e063d625faece1d380f4ce833d1a6 /plugins/Nudge | |
parent | eccbb5307a048e70ac4adb0d3fd333be28245fa8 (diff) |
funny, but without cbSize we have no need in MessageWindowInputData at all
Diffstat (limited to 'plugins/Nudge')
-rw-r--r-- | plugins/Nudge/src/shake.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/Nudge/src/shake.cpp b/plugins/Nudge/src/shake.cpp index 50982fdde2..6e71d703bc 100644 --- a/plugins/Nudge/src/shake.cpp +++ b/plugins/Nudge/src/shake.cpp @@ -39,15 +39,8 @@ INT_PTR ShakeChat(WPARAM wParam, LPARAM) {
if (((HANDLE)wParam) == NULL) return -1;
- //char srmmName[100];
MessageWindowData mwd;
- mwd.hContact = db_mc_tryMeta(wParam);
- mwd.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
-
- MessageWindowInputData mwid;
- mwid.hContact = mwd.hContact;
- mwid.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
- CallService(MS_MSG_GETWINDOWDATA, (WPARAM)&mwid, (LPARAM)&mwd);
+ CallService(MS_MSG_GETWINDOWDATA, db_mc_tryMeta(wParam), (LPARAM)&mwd);
HWND parent;
HWND hWnd = mwd.hwndWindow;
|