From b5b57169c2833b9e70cc4cff7cae127c11f02683 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sat, 13 Dec 2014 09:25:14 +0000 Subject: CopyMemory -> memcpy git-svn-id: http://svn.miranda-ng.org/main/trunk@11363 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/popup_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Popup/src/popup_thread.cpp') diff --git a/plugins/Popup/src/popup_thread.cpp b/plugins/Popup/src/popup_thread.cpp index d4eec8539a..73c406a9b6 100644 --- a/plugins/Popup/src/popup_thread.cpp +++ b/plugins/Popup/src/popup_thread.cpp @@ -77,7 +77,7 @@ bool UpdatePopupPosition(PopupWnd2 *prev, PopupWnd2 *wnd) MONITORINFOEX mnti; mnti.cbSize = sizeof(MONITORINFOEX); if ( GetMonitorInfo(hMonitor, &mnti) == TRUE) - CopyMemory(&rc, &(mnti.rcWork), sizeof(RECT)); + memcpy(&rc, &(mnti.rcWork), sizeof(RECT)); else SystemParametersInfo(SPI_GETWORKAREA,0,&rc,0); } -- cgit v1.2.3