diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2011-01-29 17:29:36 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2011-01-29 17:29:36 +0300 |
commit | 86da56a08b722b906f5e660ab965a995a3ba1ff4 (patch) | |
tree | 8058a074ef523cd75e82671ac145d45db75700a3 /messages.cpp | |
parent | 094d38a1686a807bf6b3a2cea3ef027bd70bb05b (diff) |
Additional encoding conversion
Diffstat (limited to 'messages.cpp')
-rw-r--r-- | messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/messages.cpp b/messages.cpp index c597ee3..36434ea 100644 --- a/messages.cpp +++ b/messages.cpp @@ -738,8 +738,8 @@ int SendMsgSvc(WPARAM w, LPARAM l) } HistoryLog(hContact, (char*)str_event.c_str(), EVENTTYPE_MESSAGE, DBEF_SENT | DBEF_UTF); HistoryLog(metaGetContact(hContact), (char*)str_event.c_str(), EVENTTYPE_MESSAGE, DBEF_SENT |DBEF_UTF); - hcontact_data[hContact].msgs_to_ignore.push_back((char*)ccs->lParam); - hcontact_data[metaGetContact(hContact)].msgs_to_ignore.push_back((char*)ccs->lParam); //hmm, twice ? metacontacts !! %) + hcontact_data[hContact].msgs_to_ignore.push_back(toUTF8(toUTF16((char*)ccs->lParam))); + hcontact_data[metaGetContact(hContact)].msgs_to_ignore.push_back(toUTF8(toUTF16((char*)ccs->lParam))); //hmm, twice ? metacontacts !! %) CallContactService(hContact, PSS_MESSAGE, (WPARAM)PREF_UNICODE, (LPARAM)str.c_str()); return returnNoError(hContact); } |