diff options
author | George Hazan <ghazan@miranda.im> | 2018-09-21 17:55:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-09-21 17:55:32 +0300 |
commit | 6071fb87a02cd13fd68671086194a5757204f70d (patch) | |
tree | 844c880927a7acbf3f26a8baa4515aa778bd0cb6 /protocols/Dummy | |
parent | 4dd0f6f3dbd938c48c9eee40bcb4b4b6943f9810 (diff) |
old crutch removed: error messages to go in Unicode
Diffstat (limited to 'protocols/Dummy')
-rw-r--r-- | protocols/Dummy/src/dummy_proto.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Dummy/src/dummy_proto.cpp b/protocols/Dummy/src/dummy_proto.cpp index d891531220..57b893f5e2 100644 --- a/protocols/Dummy/src/dummy_proto.cpp +++ b/protocols/Dummy/src/dummy_proto.cpp @@ -27,9 +27,10 @@ void CDummyProto::SendMsgAck(void *p) Sleep(100); if (getByte(DUMMY_KEY_ALLOW_SENDING, 0)) - ProtoBroadcastAck(data->hContact, ACKTYPE_MESSAGE, ACKRESULT_SUCCESS, (HANDLE)data->msgid, 0); + ProtoBroadcastAck(data->hContact, ACKTYPE_MESSAGE, ACKRESULT_SUCCESS, (HANDLE)data->msgid); else - ProtoBroadcastAck(data->hContact, ACKTYPE_MESSAGE, ACKRESULT_FAILED, (HANDLE)data->msgid, (LPARAM)Translate("This Dummy account has disabled sending messages. Enable it in account options.")); + ProtoBroadcastAck(data->hContact, ACKTYPE_MESSAGE, ACKRESULT_FAILED, (HANDLE)data->msgid, + (LPARAM)TranslateT("This Dummy account has disabled sending messages. Enable it in account options.")); delete data; } |