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/StatusPlugins/StartupStatus | |
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/StatusPlugins/StartupStatus')
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/options.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/options.cpp b/plugins/StatusPlugins/StartupStatus/options.cpp index 19200e5f9d..936f398a43 100644 --- a/plugins/StatusPlugins/StartupStatus/options.cpp +++ b/plugins/StatusPlugins/StartupStatus/options.cpp @@ -83,10 +83,10 @@ static char* GetCMDLArguments(TSettingsList& protoSettings) for (int i=0; i < protoSettings.getCount(); i++ ) {
*pnt++ = '/';
- strcpy(pnt, protoSettings[i].szName);
+ mir_strcpy(pnt, protoSettings[i].szName);
pnt += mir_strlen(protoSettings[i].szName);
*pnt++ = '=';
- strcpy(pnt, GetStatusDesc(protoSettings[i].status));
+ mir_strcpy(pnt, GetStatusDesc(protoSettings[i].status));
pnt += mir_strlen(GetStatusDesc(protoSettings[i].status));
if (i != protoSettings.getCount()-1) {
*pnt++ = ' ';
@@ -100,7 +100,7 @@ static char* GetCMDLArguments(TSettingsList& protoSettings) *pnt++ = '\0';
cmdl = ( char* )realloc(cmdl, mir_strlen(cmdl) + 12);
pnt = cmdl + mir_strlen(cmdl);
- strcpy(pnt, "/showdialog");
+ mir_strcpy(pnt, "/showdialog");
pnt += 11;
*pnt = '\0';
}
@@ -946,7 +946,7 @@ static int DeleteSetting(const char *szSetting,LPARAM lParam) {
char** settings = (char**)*(char ***)lParam;
settings[settingIndex] = ( char* )malloc(mir_strlen(szSetting)+1);
- strcpy(settings[settingIndex], szSetting);
+ mir_strcpy(settings[settingIndex], szSetting);
settingIndex += 1;
return 0;
|