summaryrefslogtreecommitdiff
path: root/plugins/WebView
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WebView')
-rw-r--r--plugins/WebView/src/webview_datawnd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WebView/src/webview_datawnd.cpp b/plugins/WebView/src/webview_datawnd.cpp
index 256a1bf093..0f98327ede 100644
--- a/plugins/WebView/src/webview_datawnd.cpp
+++ b/plugins/WebView/src/webview_datawnd.cpp
@@ -57,7 +57,7 @@ INT_PTR CALLBACK DlgProcFind(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
char *tempbuffer = (char*)malloc(len + 2);
- GetWindowTextA(GetDlgItem(ParentHwnd, IDC_DATA), tempbuffer, len);
+ GetDlgItemTextA(ParentHwnd, IDC_DATA, tempbuffer, len);
strncpy(buff, tempbuffer, SIZEOF(buff));
free(tempbuffer);