diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:52:29 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:52:29 +0000 |
commit | babf7873a3fe373d60ef22b1b671d98e014d8819 (patch) | |
tree | e21dfdb68839616efbbd884dfa77a1745f1c35d7 /plugins/RemovePersonalSettings | |
parent | a89887eb202c99ce09107668561abce6704f9004 (diff) |
replace strcpy to mir_strcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RemovePersonalSettings')
-rw-r--r-- | plugins/RemovePersonalSettings/src/rps.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/RemovePersonalSettings/src/rps.cpp b/plugins/RemovePersonalSettings/src/rps.cpp index 2c42967039..0394d4d522 100644 --- a/plugins/RemovePersonalSettings/src/rps.cpp +++ b/plugins/RemovePersonalSettings/src/rps.cpp @@ -145,17 +145,17 @@ extern "C" int __declspec(dllexport) Load() // Set vars
strcat(gMirandaDir, "\\");
- strcpy(gIniFile, gMirandaDir);
+ mir_strcpy(gIniFile, gMirandaDir);
// Store last pos
strTmp = &gIniFile[mir_strlen(gIniFile)];
// Lets try fist name
- strcpy(strTmp, INI_FILE_NAME);
+ mir_strcpy(strTmp, INI_FILE_NAME);
if (_access(gIniFile, 4) != 0) {
// Not found, lets try the other aproach
- strcpy(strTmp, "plugins\\" INI_FILE_NAME);
+ mir_strcpy(strTmp, "plugins\\" INI_FILE_NAME);
if (_access(gIniFile, 4) != 0) {
// Not found :(
@@ -567,7 +567,7 @@ void DeleteFileOrFolder(const char *name) do {
if (mir_strcmp(findData.cFileName, ".") && mir_strcmp(findData.cFileName, "..")) {
- strcpy(strTmp, findData.cFileName);
+ mir_strcpy(strTmp, findData.cFileName);
DeleteFileOrFolder(tmp);
}
}
@@ -641,7 +641,7 @@ int EnumProc(const char *szName, LPARAM lParam) // Add to the struct
if (len > 0 && len < sizeof(dms->buffer) - dms->pos - 2) {
- strcpy(&dms->buffer[dms->pos], szName);
+ mir_strcpy(&dms->buffer[dms->pos], szName);
dms->pos += len + 1;
}
|