summaryrefslogtreecommitdiff
path: root/plugins/Nudge/src/shake.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Nudge/src/shake.cpp')
-rw-r--r--plugins/Nudge/src/shake.cpp5
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);