diff options
Diffstat (limited to 'plugins/Variables/src/parse_variables.cpp')
-rw-r--r-- | plugins/Variables/src/parse_variables.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|