summaryrefslogtreecommitdiff
path: root/plugins/WebView
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 19:52:29 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 19:52:29 +0000
commitbabf7873a3fe373d60ef22b1b671d98e014d8819 (patch)
treee21dfdb68839616efbbd884dfa77a1745f1c35d7 /plugins/WebView
parenta89887eb202c99ce09107668561abce6704f9004 (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/WebView')
-rw-r--r--plugins/WebView/src/main.cpp16
-rw-r--r--plugins/WebView/src/webview_datawnd.cpp2
2 files changed, 9 insertions, 9 deletions
diff --git a/plugins/WebView/src/main.cpp b/plugins/WebView/src/main.cpp
index 56426a95e4..98e356aa69 100644
--- a/plugins/WebView/src/main.cpp
+++ b/plugins/WebView/src/main.cpp
@@ -50,35 +50,35 @@ void InitServices()
{
char SvcFunc[100];
- strcpy(SvcFunc, MODULENAME);
+ mir_strcpy(SvcFunc, MODULENAME);
strcat(SvcFunc, PS_GETCAPS);
CreateServiceFunction(SvcFunc, GetCaps);
- strcpy(SvcFunc, MODULENAME);
+ mir_strcpy(SvcFunc, MODULENAME);
strcat(SvcFunc, PS_GETNAME);
CreateServiceFunction(SvcFunc, GetName);
- strcpy(SvcFunc, MODULENAME);
+ mir_strcpy(SvcFunc, MODULENAME);
strcat(SvcFunc, PS_LOADICON);
CreateServiceFunction(SvcFunc, BPLoadIcon);
- strcpy(SvcFunc, MODULENAME);
+ mir_strcpy(SvcFunc, MODULENAME);
strcat(SvcFunc, PS_SETSTATUS);
CreateServiceFunction(SvcFunc, SetStatus);
- strcpy(SvcFunc, MODULENAME);
+ mir_strcpy(SvcFunc, MODULENAME);
strcat(SvcFunc, PS_GETSTATUS);
CreateServiceFunction(SvcFunc, GetStatus);
//
- strcpy(SvcFunc, MODULENAME);
+ mir_strcpy(SvcFunc, MODULENAME);
strcat(SvcFunc, PS_BASICSEARCH);
CreateServiceFunction(SvcFunc, BasicSearch);
- strcpy(SvcFunc, MODULENAME);
+ mir_strcpy(SvcFunc, MODULENAME);
strcat(SvcFunc, PS_ADDTOLIST);
CreateServiceFunction(SvcFunc, AddToList);
- strcpy(SvcFunc, MODULENAME);
+ mir_strcpy(SvcFunc, MODULENAME);
strcat(SvcFunc, PSS_GETINFO);
CreateServiceFunction(SvcFunc, GetInfo);
}
diff --git a/plugins/WebView/src/webview_datawnd.cpp b/plugins/WebView/src/webview_datawnd.cpp
index 6982a6b8ef..8857e78d1a 100644
--- a/plugins/WebView/src/webview_datawnd.cpp
+++ b/plugins/WebView/src/webview_datawnd.cpp
@@ -76,7 +76,7 @@ INT_PTR CALLBACK DlgProcFind(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
startposition = 0;
}
- strcpy(Searchstr, NewSearchstr);
+ mir_strcpy(Searchstr, NewSearchstr);
if (!(startposition > mir_strlen(buff)))
location = (strstr(buff + startposition, NewSearchstr)) - buff;