summaryrefslogtreecommitdiff
path: root/plugins/WebView
diff options
context:
space:
mode:
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;