From 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sun, 14 Dec 2014 04:44:35 +0000 Subject: GetWindowText(GetDlgItem(...)) -> GetDlgItemText(...) git-svn-id: http://svn.miranda-ng.org/main/trunk@11390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WebView/src/webview_datawnd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/WebView') 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); -- cgit v1.2.3