From b280d2eae93fb22b4fdb45218d8a06287a97030e Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 12:49:22 +0000 Subject: replace _tcscmp to mir_tstrcmp git-svn-id: http://svn.miranda-ng.org/main/trunk@13753 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/parse_variables.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Variables/src/parse_variables.cpp') diff --git a/plugins/Variables/src/parse_variables.cpp b/plugins/Variables/src/parse_variables.cpp index ea5a833786..82460fbb70 100644 --- a/plugins/Variables/src/parse_variables.cpp +++ b/plugins/Variables/src/parse_variables.cpp @@ -31,7 +31,7 @@ static int addToVariablesRegister(TCHAR *szName, TCHAR *szText) mir_cslock lck(csVarRegister); for (int i = 0; i < vrCount; i++) { - if ((!_tcscmp(vr[i].szName, szName))) { + if ((!mir_tstrcmp(vr[i].szName, szName))) { mir_free(vr[i].szText); vr[i].szText = mir_tstrdup(szText); return 0; @@ -55,7 +55,7 @@ static TCHAR *searchVariableRegister(TCHAR *szName) mir_cslock lck(csVarRegister); for (int i = 0; i < vrCount; i++) - if ((!_tcscmp(vr[i].szName, szName))) + if ((!mir_tstrcmp(vr[i].szName, szName))) return mir_tstrdup(vr[i].szText); return NULL; -- cgit v1.2.3