summaryrefslogtreecommitdiff
path: root/src/core/stdfile
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-23 16:43:34 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-23 16:43:34 +0000
commit11c185ebb3013230538d4a48656b23bf81d31055 (patch)
tree41f64fdbd3785621cfeb89a2c0d07ea1b2c4427f /src/core/stdfile
parentf2de79cb2eb8247548650ee80d75be109ac66ee7 (diff)
replace _tcscat to mir_tstrcat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdfile')
-rw-r--r--src/core/stdfile/src/fileexistsdlg.cpp2
-rw-r--r--src/core/stdfile/src/fileopts.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdfile/src/fileexistsdlg.cpp b/src/core/stdfile/src/fileexistsdlg.cpp
index 1062177c7c..81b1a220ba 100644
--- a/src/core/stdfile/src/fileexistsdlg.cpp
+++ b/src/core/stdfile/src/fileexistsdlg.cpp
@@ -288,7 +288,7 @@ INT_PTR CALLBACK DlgProcFileExists(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
ofn.hwndOwner = hwndDlg;
ofn.Flags = OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY;
_tcsncpy(filter, TranslateT("All files"),SIZEOF(filter)-1);
- _tcscat(filter, _T(" (*)"));
+ mir_tstrcat(filter, _T(" (*)"));
pfilter = filter + mir_tstrlen(filter) + 1;
mir_tstrcpy(pfilter, _T("*"));
pfilter = pfilter + mir_tstrlen(pfilter) + 1;
diff --git a/src/core/stdfile/src/fileopts.cpp b/src/core/stdfile/src/fileopts.cpp
index 63c1cdcec1..7b56f2bdb9 100644
--- a/src/core/stdfile/src/fileopts.cpp
+++ b/src/core/stdfile/src/fileopts.cpp
@@ -191,7 +191,7 @@ static INT_PTR CALLBACK DlgProcFileOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L
if (_tcschr(str, ' ') != NULL) {
memmove(str + 1, str, ((SIZEOF(str) - 2) * sizeof(TCHAR)));
str[0] = '"';
- _tcscat(str, _T("\""));
+ mir_tstrcat(str, _T("\""));
}
SetDlgItemText(hwndDlg, IDC_SCANCMDLINE, str);
break;