summaryrefslogtreecommitdiff
path: root/hw/xwin
diff options
context:
space:
mode:
authorLuo Jie <luojie@nlsde.buaa.edu.cn>2007-05-24 11:04:06 -0700
committerEric Anholt <eric@anholt.net>2007-05-24 11:30:27 -0700
commit4d7469f75fadfc4a59664e88e18eb304203670f4 (patch)
tree2d030246519b78427fc3e5d3c2da223b0c7b5210 /hw/xwin
parent0b988450462ddb005311e68502357baf272e6371 (diff)
Fix a typo in using memcpy in xwin.
Diffstat (limited to 'hw/xwin')
-rwxr-xr-xhw/xwin/winmultiwindowclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winmultiwindowclass.c b/hw/xwin/winmultiwindowclass.c
index d8909f0e5..57c434669 100755
--- a/hw/xwin/winmultiwindowclass.c
+++ b/hw/xwin/winmultiwindowclass.c
@@ -264,7 +264,7 @@ winMultiWindowGetTransientFor (WindowPtr pWin, WindowPtr *ppDaddy)
if (prop->propertyName == XA_WM_TRANSIENT_FOR)
{
if (ppDaddy)
- memcpy (*ppDaddy, prop->data, sizeof (WindowPtr *));
+ memcpy (*ppDaddy, prop->data, sizeof (WindowPtr));
return 1;
}
else