summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-03-31 19:52:18 +0300
committerMataes <mataes2007@gmail.com>2018-03-31 19:52:18 +0300
commit8d6d0d8db6a105676442a1e592c5973a2a14500e (patch)
treee7f66b3badc390a1d4c276f181b3e08b2c53b773
parentddfe019e197fbda2aefd823f52d4edd4a82db883 (diff)
MirOTR: correct version
-rw-r--r--plugins/MirOTR/src/svcs_proto.cpp2
1 files changed, 1 insertions, 1 deletions
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;