From 8d6d0d8db6a105676442a1e592c5973a2a14500e Mon Sep 17 00:00:00 2001 From: Mataes Date: Sat, 31 Mar 2018 19:52:18 +0300 Subject: MirOTR: correct version --- plugins/MirOTR/src/svcs_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirOTR') diff --git a/plugins/MirOTR/src/svcs_proto.cpp b/plugins/MirOTR/src/svcs_proto.cpp index 37ccce5f15..f28c12c792 100644 --- a/plugins/MirOTR/src/svcs_proto.cpp +++ b/plugins/MirOTR/src/svcs_proto.cpp @@ -139,7 +139,7 @@ INT_PTR SVC_OTRRecvMessage(WPARAM wParam,LPARAM lParam) CMStringA tmp = options.prefix; tmp.Append(newmessage); msg_free(newmessage); - newmessage = mir_strdup(tmp); + replaceStr(newmessage, tmp.Detach()); msg_free = mir_free; } pre->szMessage = newmessage; -- cgit v1.2.3