diff options
author | Luo Jie <luojie@nlsde.buaa.edu.cn> | 2007-05-24 11:04:06 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-05-24 11:30:27 -0700 |
commit | 4d7469f75fadfc4a59664e88e18eb304203670f4 (patch) | |
tree | 2d030246519b78427fc3e5d3c2da223b0c7b5210 /hw/xwin/winmultiwindowclass.c | |
parent | 0b988450462ddb005311e68502357baf272e6371 (diff) |
Fix a typo in using memcpy in xwin.
Diffstat (limited to 'hw/xwin/winmultiwindowclass.c')
-rwxr-xr-x | hw/xwin/winmultiwindowclass.c | 2 |
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 |