Author: tkreuzer
Date: Mon Apr 30 13:33:11 2007
New Revision: 26587
URL:
http://svn.reactos.org/svn/reactos?rev=26587&view=rev
Log:
Sorry Alex, my fault. NtGdiExtGetObjectW *does* need a WORD alignment.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dc.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dc.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dc.c Mon Apr 30 13:33:11 2007
@@ -1888,7 +1888,7 @@
_SEH_TRY
{
// Probe the buffer and copy it
- ProbeForWrite(lpBuffer, cbCopyCount, 1);
+ ProbeForWrite(lpBuffer, cbCopyCount, sizeof(WORD));
RtlCopyMemory(lpBuffer, &Object, cbCopyCount);
}
_SEH_HANDLE