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 --- src/modules/utils/path.cpp | 2 +- src/modules/utils/timezones.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/utils') diff --git a/src/modules/utils/path.cpp b/src/modules/utils/path.cpp index 54e75810e5..8fb4ed3e98 100644 --- a/src/modules/utils/path.cpp +++ b/src/modules/utils/path.cpp @@ -192,7 +192,7 @@ static __forceinline char *GetPathVarX(char *, int code) return makeFileName(szFullPath); } -static __forceinline int _xcscmp(const TCHAR *s1, const TCHAR *s2) { return _tcscmp(s1, s2); } +static __forceinline int _xcscmp(const TCHAR *s1, const TCHAR *s2) { return mir_tstrcmp(s1, s2); } static __forceinline int _xcsncmp(const TCHAR *s1, const TCHAR *s2, size_t n) { return _tcsncmp(s1, s2, n); } static __forceinline size_t _xcslen(const TCHAR *s1) { return mir_tstrlen(s1); } static __forceinline TCHAR *_xcscpy(TCHAR *s1, const TCHAR *s2) { return _tcscpy(s1, s2); } diff --git a/src/modules/utils/timezones.cpp b/src/modules/utils/timezones.cpp index 9c7d3804ab..aa993d73cd 100644 --- a/src/modules/utils/timezones.cpp +++ b/src/modules/utils/timezones.cpp @@ -150,7 +150,7 @@ static HANDLE timeapiGetInfoByName(LPCTSTR tszName, DWORD dwFlags) if (tszName == NULL) return (dwFlags & (TZF_DIFONLY | TZF_KNOWNONLY)) ? NULL : &myInfo.myTZ; - if (_tcscmp(myInfo.myTZ.tszName, tszName) == 0) + if (mir_tstrcmp(myInfo.myTZ.tszName, tszName) == 0) return (dwFlags & TZF_DIFONLY) ? NULL : &myInfo.myTZ; MIM_TIMEZONE tzsearch; -- cgit v1.2.3