summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/parse_variables.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:18:21 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 10:18:21 +0000
commitb499ebc740aa5480be013d40e0d8097066800642 (patch)
treeed410ee863f4afc0c579599741bf38b4e3ffb706 /plugins/Variables/src/parse_variables.cpp
parent5a17c9299e03bebf46169927abdeee34aaf8e854 (diff)
replace _tcslen to mir_tstrlen
git-svn-id: http://svn.miranda-ng.org/main/trunk@13748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/parse_variables.cpp')
-rw-r--r--plugins/Variables/src/parse_variables.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/src/parse_variables.cpp b/plugins/Variables/src/parse_variables.cpp
index 8a711a1524..ea5a833786 100644
--- a/plugins/Variables/src/parse_variables.cpp
+++ b/plugins/Variables/src/parse_variables.cpp
@@ -26,7 +26,7 @@ static int vrCount = 0;
static int addToVariablesRegister(TCHAR *szName, TCHAR *szText)
{
- if ((szName == NULL) || (szText == NULL) || (_tcslen(szName) <= 0))
+ if ((szName == NULL) || (szText == NULL) || (mir_tstrlen(szName) <= 0))
return -1;
mir_cslock lck(csVarRegister);
@@ -50,7 +50,7 @@ static int addToVariablesRegister(TCHAR *szName, TCHAR *szText)
static TCHAR *searchVariableRegister(TCHAR *szName)
{
- if ((szName == NULL) || (_tcslen(szName) <= 0))
+ if ((szName == NULL) || (mir_tstrlen(szName) <= 0))
return NULL;
mir_cslock lck(csVarRegister);