summaryrefslogtreecommitdiff
path: root/plugins/MirOTR
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR')
-rw-r--r--plugins/MirOTR/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/options.cpp b/plugins/MirOTR/src/options.cpp
index 8ef718f6ae..1f73e2df08 100644
--- a/plugins/MirOTR/src/options.cpp
+++ b/plugins/MirOTR/src/options.cpp
@@ -410,7 +410,7 @@ public:
if (proto) {
char fprint[45];
if (otrl_privkey_fingerprint(otr_user_state, fprint, proto, proto))
- Utils_ClipboardCopy(fprint);
+ Utils_ClipboardCopy(MClipAnsi(fprint));
}
break;
@@ -795,7 +795,7 @@ public:
case IDM_OPT_COPY:
wchar_t hash[45];
otrl_privkey_hash_to_humanT(hash, fp->fingerprint);
- Utils_ClipboardCopy(hash);
+ Utils_ClipboardCopy(MClipUnicode(hash));
break;
case IDM_OPT_FINGER_FORGET: