From babf7873a3fe373d60ef22b1b671d98e014d8819 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 19:52:29 +0000 Subject: replace strcpy to mir_strcpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StatusPlugins/StartupStatus/options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/StatusPlugins/StartupStatus/options.cpp') 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; -- cgit v1.2.3