From d5d85efcecd6fa2f2efd84b369a642f47a511169 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 15 Mar 2013 21:51:28 +0000 Subject: oops git-svn-id: http://svn.miranda-ng.org/main/trunk@4058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/typingnotify.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/typingnotify.cpp') diff --git a/plugins/TabSRMM/src/typingnotify.cpp b/plugins/TabSRMM/src/typingnotify.cpp index d42c2cac8c..4ca5ebb313 100644 --- a/plugins/TabSRMM/src/typingnotify.cpp +++ b/plugins/TabSRMM/src/typingnotify.cpp @@ -114,6 +114,7 @@ void TN_TypingMessage(HANDLE hContact, int iMode) int notyping; POPUPDATAT_V2 ppd = { 0 }; + ppd.cbSize = sizeof(ppd); if (iMode == PROTOTYPE_CONTACTTYPING_OFF) { if (StopDisabled) @@ -180,8 +181,6 @@ void TN_TypingMessage(HANDLE hContact, int iMode) ppd.lchIcon = PluginConfig.g_buttonBarIcons[ICON_DEFAULT_TYPING]; ppd.lchContact = hContact; ppd.PluginWindowProc = (WNDPROC) PopupDlgProc; - ppd.PluginData = NULL; - ppd.cbSize = sizeof(ppd); CallService(MS_POPUP_ADDPOPUPT, (WPARAM)&ppd, APF_NEWDATA); } -- cgit v1.2.3