diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-28 14:21:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-28 14:21:33 +0300 |
commit | eccbb5307a048e70ac4adb0d3fd333be28245fa8 (patch) | |
tree | a9a2c92c13391a5cf288c9e0d841833c54f3cd5e /plugins/Nudge | |
parent | 6a9e3738066370dac38f5f6768b8a6f61fe709e0 (diff) |
massive cleanup of useless cbSize fields
Diffstat (limited to 'plugins/Nudge')
-rw-r--r-- | plugins/Nudge/src/shake.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Nudge/src/shake.cpp b/plugins/Nudge/src/shake.cpp index 2bce93d0e1..50982fdde2 100644 --- a/plugins/Nudge/src/shake.cpp +++ b/plugins/Nudge/src/shake.cpp @@ -41,13 +41,10 @@ INT_PTR ShakeChat(WPARAM wParam, LPARAM) //char srmmName[100];
MessageWindowData mwd;
- MessageWindowInputData mwid;
-
- mwd.cbSize = sizeof(MessageWindowData);
mwd.hContact = db_mc_tryMeta(wParam);
mwd.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
- mwid.cbSize = sizeof(MessageWindowInputData);
+ MessageWindowInputData mwid;
mwid.hContact = mwd.hContact;
mwid.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
CallService(MS_MSG_GETWINDOWDATA, (WPARAM)&mwid, (LPARAM)&mwd);
|