diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-03-09 17:45:14 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-03-09 17:45:14 +0000 |
commit | 535b7733c38c9e4c75a8ff73f231c8b807194124 (patch) | |
tree | 95fe152f1c608768d7ae3d800f2c9f7ee21a2269 /plugins/TabSRMM/src/typingnotify.cpp | |
parent | 79ef51422c7fa9cc9867355b1518ec6ce7be52c2 (diff) |
minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@8514 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/typingnotify.cpp')
-rw-r--r-- | plugins/TabSRMM/src/typingnotify.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/typingnotify.cpp b/plugins/TabSRMM/src/typingnotify.cpp index 6652ece4ad..b8bc21d693 100644 --- a/plugins/TabSRMM/src/typingnotify.cpp +++ b/plugins/TabSRMM/src/typingnotify.cpp @@ -63,12 +63,12 @@ static INT_PTR EnableDisableMenuCommand(WPARAM wParam,LPARAM lParam) return 0;
}
-static int CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
+static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
switch (message) {
case WM_COMMAND:
if (HIWORD(wParam) == STN_CLICKED) {
- CallService(MS_MSG_SENDMESSAGE "W", (WPARAM)PUGetContact(hWnd), 0);
+ CallService(MS_MSG_SENDMESSAGET, (WPARAM)PUGetContact(hWnd), 0);
PUDeletePopup(hWnd);
return 1;
}
@@ -176,7 +176,7 @@ void TN_TypingMessage(MCONTACT hContact, int iMode) ppd.lchIcon = PluginConfig.g_buttonBarIcons[ICON_DEFAULT_TYPING];
ppd.lchContact = hContact;
- ppd.PluginWindowProc = (WNDPROC) PopupDlgProc;
+ ppd.PluginWindowProc = PopupDlgProc;
CallService(MS_POPUP_ADDPOPUPT, (WPARAM)&ppd, APF_NEWDATA);
}
|