summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/dialogs.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-27 07:36:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-27 07:36:58 +0000
commit1319f3775c793bdfb8299f5757e7c198d7a61339 (patch)
treee132a96411aedeb5b86cdea901b15ff8028f00f5 /plugins/MirOTR/src/dialogs.cpp
parentfd511dcd6739e2994445833ac8f03f01a2c5df95 (diff)
ConnectionNotify common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/dialogs.cpp')
-rw-r--r--plugins/MirOTR/src/dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirOTR/src/dialogs.cpp b/plugins/MirOTR/src/dialogs.cpp
index 6dd74a5390..c43a2b1d55 100644
--- a/plugins/MirOTR/src/dialogs.cpp
+++ b/plugins/MirOTR/src/dialogs.cpp
@@ -745,7 +745,7 @@ unsigned int CALLBACK verify_context_thread(void *param)
case IDYES:
lib_cs_lock();
otrl_context_set_trust(context->active_fingerprint, "verified");
- otrl_privkey_write_fingerprints(otr_user_state, g_fingerprint_store_filename);
+ otrl_privkey_write_fingerprints(otr_user_state, _T2A(g_fingerprint_store_filename));
lib_cs_unlock();
mir_sntprintf(msg, SIZEOF(msg), TranslateT(LANG_FINGERPRINT_VERIFIED), contact_get_nameT(hContact));
ShowMessage(hContact, msg);
@@ -754,7 +754,7 @@ unsigned int CALLBACK verify_context_thread(void *param)
case IDNO:
lib_cs_lock();
otrl_context_set_trust(context->active_fingerprint, NULL);
- otrl_privkey_write_fingerprints(otr_user_state, g_fingerprint_store_filename);
+ otrl_privkey_write_fingerprints(otr_user_state, _T2A(g_fingerprint_store_filename));
lib_cs_unlock();
mir_sntprintf(msg, SIZEOF(msg), TranslateT(LANG_FINGERPRINT_NOT_VERIFIED), contact_get_nameT(hContact));
ShowMessage(hContact, msg);