diff options
author | George Hazan <george.hazan@gmail.com> | 2015-01-26 16:19:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-01-26 16:19:13 +0000 |
commit | de6c7df3c362fa0104e7d908c29614266caaa9d6 (patch) | |
tree | 0824b5afcbe12e17e9bb36221fce4b7c87ecd03c /protocols/WhatsApp/src/chat.cpp | |
parent | 53867c8c7ca7a578d8f36b619f352700ba34c9ad (diff) |
fixed user search & addition
git-svn-id: http://svn.miranda-ng.org/main/trunk@11918 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/chat.cpp')
-rw-r--r-- | protocols/WhatsApp/src/chat.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/chat.cpp b/protocols/WhatsApp/src/chat.cpp index d06e8f357e..790906cb8f 100644 --- a/protocols/WhatsApp/src/chat.cpp +++ b/protocols/WhatsApp/src/chat.cpp @@ -16,7 +16,6 @@ int WhatsAppProto::OnChatOutgoing(WPARAM wParam, LPARAM lParam) {
GCHOOK *hook = reinterpret_cast<GCHOOK*>(lParam);
char *text;
- char *id;
if (strcmp(hook->pDest->pszModule, m_szModuleName))
return 0;
@@ -27,7 +26,7 @@ int WhatsAppProto::OnChatOutgoing(WPARAM wParam, LPARAM lParam) {
std::string msg = text;
- id = mir_t2a_cp(hook->pDest->ptszID, CP_UTF8);
+ char *id = mir_t2a_cp(hook->pDest->ptszID, CP_UTF8);
std::string chat_id = id;
mir_free(text);
@@ -65,4 +64,3 @@ int WhatsAppProto::OnChatOutgoing(WPARAM wParam, LPARAM lParam) return 0;
}
-
|