summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/utils.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:49:22 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 12:49:22 +0000
commitb280d2eae93fb22b4fdb45218d8a06287a97030e (patch)
treef4e0d9921a57bafdb608a55a107bad3408b8f909 /plugins/MirOTR/src/utils.cpp
parent159b565b390687258ee65a3b66596e118752063c (diff)
replace _tcscmp to mir_tstrcmp
git-svn-id: http://svn.miranda-ng.org/main/trunk@13753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/utils.cpp')
-rw-r--r--plugins/MirOTR/src/utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirOTR/src/utils.cpp b/plugins/MirOTR/src/utils.cpp
index 31f629d350..93375922e8 100644
--- a/plugins/MirOTR/src/utils.cpp
+++ b/plugins/MirOTR/src/utils.cpp
@@ -372,13 +372,13 @@ const TCHAR *policy_to_string(OtrlPolicy policy) {
}
OtrlPolicy policy_from_string(const TCHAR *polstring) {
- if (_tcscmp(polstring, TranslateT(LANG_POLICY_NEVER)) == 0)
+ if (mir_tstrcmp(polstring, TranslateT(LANG_POLICY_NEVER)) == 0)
return OTRL_POLICY_NEVER;
- else if (_tcscmp(polstring, TranslateT(LANG_POLICY_OPP)) == 0)
+ else if (mir_tstrcmp(polstring, TranslateT(LANG_POLICY_OPP)) == 0)
return OTRL_POLICY_OPPORTUNISTIC;
- else if (_tcscmp(polstring, TranslateT(LANG_POLICY_MANUAL)) == 0)
+ else if (mir_tstrcmp(polstring, TranslateT(LANG_POLICY_MANUAL)) == 0)
return OTRL_POLICY_MANUAL_MOD;
- else if (_tcscmp(polstring, TranslateT(LANG_POLICY_ALWAYS)) == 0)
+ else if (mir_tstrcmp(polstring, TranslateT(LANG_POLICY_ALWAYS)) == 0)
return OTRL_POLICY_ALWAYS;
else
return CONTACT_DEFAULT_POLICY;