From a346491026d5df1ffe0d41e4881613a47ca6ca47 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Apr 2013 14:25:52 +0000 Subject: end of the city legend that PSS_MESSAGEW ever existed git-svn-id: http://svn.miranda-ng.org/main/trunk@4482 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/main.cpp | 1 - plugins/SecureIM/src/svcs_proto.cpp | 12 ------------ plugins/SecureIM/src/svcs_proto.h | 1 - 3 files changed, 14 deletions(-) (limited to 'plugins/SecureIM/src') diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp index 81c66f45fd..c4c22653af 100644 --- a/plugins/SecureIM/src/main.cpp +++ b/plugins/SecureIM/src/main.cpp @@ -310,7 +310,6 @@ int onModulesLoaded(WPARAM, LPARAM) // hook message transport CreateProtoServiceFunction(MODULENAME, PSR_MESSAGE, onRecvMsg); CreateProtoServiceFunction(MODULENAME, PSS_MESSAGE, onSendMsg); - CreateProtoServiceFunction(MODULENAME, PSS_MESSAGE"W", onSendMsgW); CreateProtoServiceFunction(MODULENAME, PSS_FILE, onSendFile); // create a menu item for creating a secure im connection to the user. diff --git a/plugins/SecureIM/src/svcs_proto.cpp b/plugins/SecureIM/src/svcs_proto.cpp index 9031b88231..21a228b041 100644 --- a/plugins/SecureIM/src/svcs_proto.cpp +++ b/plugins/SecureIM/src/svcs_proto.cpp @@ -475,18 +475,6 @@ INT_PTR __cdecl onRecvMsg(WPARAM wParam, LPARAM lParam) return ret; } -// SendMsgW handler -INT_PTR __cdecl onSendMsgW(WPARAM wParam, LPARAM lParam) -{ - if (!lParam) return 0; - - CCSDATA *ccs = (CCSDATA*)lParam; - if (!(ccs->wParam & PREF_UTF)) - ccs->wParam |= PREF_UNICODE; - - return onSendMsg(wParam, lParam); -} - // SendMsg handler INT_PTR __cdecl onSendMsg(WPARAM wParam, LPARAM lParam) { diff --git a/plugins/SecureIM/src/svcs_proto.h b/plugins/SecureIM/src/svcs_proto.h index c2a9506742..8b7aa6e398 100644 --- a/plugins/SecureIM/src/svcs_proto.h +++ b/plugins/SecureIM/src/svcs_proto.h @@ -2,7 +2,6 @@ #define __SVCS_PROTO_H__ INT_PTR __cdecl onRecvMsg(WPARAM,LPARAM); -INT_PTR __cdecl onSendMsgW(WPARAM,LPARAM); INT_PTR __cdecl onSendMsg(WPARAM,LPARAM); INT_PTR __cdecl onSendFile(WPARAM,LPARAM); -- cgit v1.2.3