From b499ebc740aa5480be013d40e0d8097066800642 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 10:18:21 +0000 Subject: replace _tcslen to mir_tstrlen git-svn-id: http://svn.miranda-ng.org/main/trunk@13748 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BasicHistory/src/Options.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/BasicHistory/src/Options.cpp') diff --git a/plugins/BasicHistory/src/Options.cpp b/plugins/BasicHistory/src/Options.cpp index 6307b9bffc..f5994e4d2c 100644 --- a/plugins/BasicHistory/src/Options.cpp +++ b/plugins/BasicHistory/src/Options.cpp @@ -806,24 +806,24 @@ bool OpenFileDlg(HWND hwndDlg, HWND hwndEdit, const TCHAR* defName, const TCHAR* _tcscpy_s(extUpper, ext); extUpper[0] = std::toupper(ext[0], loc); mir_sntprintf(filter, SIZEOF(filter), TranslateT("%s Files (*.%s)"), extUpper, ext); - size_t len = _tcslen(filter) + 1; + size_t len = mir_tstrlen(filter) + 1; mir_sntprintf(filter + len, SIZEOF(filter) - len, _T("*.%s"), ext); - len += _tcslen(filter + len) + 1; + len += mir_tstrlen(filter + len) + 1; _tcscpy_s(filter + len, 1024 - len, TranslateT("All Files (*.*)")); - len += _tcslen(filter + len) + 1; + len += mir_tstrlen(filter + len) + 1; _tcscpy_s(filter + len, 1024 - len, _T("*.*")); - len += _tcslen(filter + len) + 1; + len += mir_tstrlen(filter + len) + 1; filter[len] = 0; TCHAR stzFilePath[1024]; Edit_GetText(hwndEdit, stzFilePath, 1023); if (stzFilePath[0] == 0) { _tcscpy_s(stzFilePath, defName); - len = _tcslen(stzFilePath) + 1; + len = mir_tstrlen(stzFilePath) + 1; stzFilePath[len] = 0; } else { - len = _tcslen(stzFilePath) + 1; + len = mir_tstrlen(stzFilePath) + 1; stzFilePath[len] = 0; } -- cgit v1.2.3