diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-07 10:08:01 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-07 10:08:01 +0000 |
commit | f5dfa8c3e7400594e220889899b453dbbda5a0c2 (patch) | |
tree | 759c3368ce1a0e729f64fc870b925f3078c53bed | |
parent | be0573d0571883083025d02be3d6c6734d369745 (diff) |
Dropbox: encoding fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16439 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Dropbox/src/dropbox_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/dropbox_utils.cpp b/plugins/Dropbox/src/dropbox_utils.cpp index b007d88245..56a9840a69 100644 --- a/plugins/Dropbox/src/dropbox_utils.cpp +++ b/plugins/Dropbox/src/dropbox_utils.cpp @@ -117,7 +117,7 @@ void CDropbox::SendToContact(MCONTACT hContact, const TCHAR *data) return;
}
- if (CallContactService(hContact, PSS_MESSAGE, 0, (LPARAM)data) != ACKRESULT_FAILED) {
+ if (CallContactService(hContact, PSS_MESSAGE, 0, T2Utf(data)) != ACKRESULT_FAILED) {
char *message = mir_utf8encodeT(data);
AddEventToDb(hContact, EVENTTYPE_MESSAGE, DBEF_UTF | DBEF_SENT, (DWORD)mir_strlen(message), (PBYTE)message);
}
|