summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/src/modern_docking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_docking.cpp b/plugins/Clist_modern/src/modern_docking.cpp
index 5f61fb4cd4..02c59f3ddc 100644
--- a/plugins/Clist_modern/src/modern_docking.cpp
+++ b/plugins/Clist_modern/src/modern_docking.cpp
@@ -50,7 +50,7 @@ static void Docking_GetMonitorRectFromPoint(POINT pt,RECT *rc)
if (GetMonitorInfo(hMonitor, &monitorInfo))
{
- CopyMemory(rc,&monitorInfo.rcMonitor,sizeof(RECT));
+ memcpy(rc,&monitorInfo.rcMonitor,sizeof(RECT));
return;
}