summaryrefslogtreecommitdiff
path: root/plugins/WebView/src/webview_datawnd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WebView/src/webview_datawnd.cpp')
-rw-r--r--plugins/WebView/src/webview_datawnd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/WebView/src/webview_datawnd.cpp b/plugins/WebView/src/webview_datawnd.cpp
index 0f98327ede..6982a6b8ef 100644
--- a/plugins/WebView/src/webview_datawnd.cpp
+++ b/plugins/WebView/src/webview_datawnd.cpp
@@ -62,15 +62,15 @@ INT_PTR CALLBACK DlgProcFind(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
free(tempbuffer);
Filter(buff);
- CharUpperBuffA(buff, (int)strlen(buff));
+ CharUpperBuffA(buff, (int)mir_strlen(buff));
GetDlgItemTextA(hwndDlg, IDC_FINDWHAT, NewSearchstr, SIZEOF(NewSearchstr));
- CharUpperBuffA(NewSearchstr, (int)strlen(NewSearchstr));
+ CharUpperBuffA(NewSearchstr, (int)mir_strlen(NewSearchstr));
OLDstartposition = startposition;
if ((strstr(Searchstr, NewSearchstr)) != 0)
- startposition = loc + (int)strlen(Searchstr);
+ startposition = loc + (int)mir_strlen(Searchstr);
else {
oldloc = 0;
startposition = 0;
@@ -78,7 +78,7 @@ INT_PTR CALLBACK DlgProcFind(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
strcpy(Searchstr, NewSearchstr);
- if (!(startposition > strlen(buff)))
+ if (!(startposition > mir_strlen(buff)))
location = (strstr(buff + startposition, NewSearchstr)) - buff;
oldloc = loc;
@@ -88,14 +88,14 @@ INT_PTR CALLBACK DlgProcFind(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
ShowWindow(GetDlgItem(hwndDlg, IDC_SEARCH_COMPLETE), SW_SHOW);
loc = (strstr(buff, NewSearchstr)) - buff;
startsel = loc;
- endsel = loc + (int)strlen(NewSearchstr);
+ endsel = loc + (int)mir_strlen(NewSearchstr);
oldloc = 0;
startposition = 0;
}
else {
ShowWindow(GetDlgItem(hwndDlg, IDC_SEARCH_COMPLETE), SW_HIDE);
startsel = loc;
- endsel = loc + (int)strlen(NewSearchstr);
+ endsel = loc + (int)mir_strlen(NewSearchstr);
}
CHARRANGE sel2 = {startsel, endsel};