summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/exportimport.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-23 16:25:49 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-23 16:25:49 +0000
commitf2de79cb2eb8247548650ee80d75be109ac66ee7 (patch)
tree5f6ae43436ad92857bc3361556e581dea0a28270 /plugins/DbEditorPP/src/exportimport.cpp
parent83810fbdf96dc0a842bf149cfa40749e95b0fe63 (diff)
replace strcat to mir_strcat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13777 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP/src/exportimport.cpp')
-rw-r--r--plugins/DbEditorPP/src/exportimport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/DbEditorPP/src/exportimport.cpp b/plugins/DbEditorPP/src/exportimport.cpp
index 8618de7a97..9c07ce46b7 100644
--- a/plugins/DbEditorPP/src/exportimport.cpp
+++ b/plugins/DbEditorPP/src/exportimport.cpp
@@ -92,7 +92,7 @@ void exportModule(MCONTACT hContact, char *module, FILE *file)
for (int j = 0; j < dbv.cpbVal; j++) {
char tmp[16];
mir_snprintf(tmp, SIZEOF(tmp), "%02X ", (BYTE)dbv.pbVal[j]);
- strcat(data, tmp);
+ mir_strcat(data, tmp);
}
fprintf(file, "\n%s=n%s", setting->name, data);
mir_free(data);
@@ -559,12 +559,12 @@ void ImportSettingsFromFileMenuItem(MCONTACT hContact, char* FilePath)
if ((DWORD)mir_strlen(szFileNames) < offset) {
index += offset;
strncpy(szPath, szFileNames, offset);
- strcat(szPath, "\\");
+ mir_strcat(szPath, "\\");
}
while (szFileNames[index]) {
mir_strcpy(szFile, szPath);
- strcat(szFile, &szFileNames[index]);
+ mir_strcat(szFile, &szFileNames[index]);
index += (int)mir_strlen(&szFileNames[index]) + 1;
HANDLE hFile = CreateFile(szFile, GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);