diff options
Diffstat (limited to 'plugins/Variables/src/parse_math.cpp')
-rw-r--r-- | plugins/Variables/src/parse_math.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Variables/src/parse_math.cpp b/plugins/Variables/src/parse_math.cpp index 2581828c28..883216bc49 100644 --- a/plugins/Variables/src/parse_math.cpp +++ b/plugins/Variables/src/parse_math.cpp @@ -61,7 +61,7 @@ static TCHAR *parseHex(ARGUMENTSINFO *ai) return NULL;
memset(res, 0, ((zeros + mir_tstrlen(szVal) + 3) * sizeof(TCHAR)));
- _tcscpy(res, _T("0x"));
+ mir_tstrcpy(res, _T("0x"));
for (i = 0; i < zeros; i++)
*(res + 2 + i) = '0';
|