that was a typo
it is fixed in trunk
 
----- Original Message -----
From: Alex Ionescu
To: ros-dev@reactos.org
Sent: Monday, December 31, 2007 3:37 AM
Subject: Re: [ros-dev] [ros-diffs] [greatlrd] 31509: ImplementDxDdUnlockDirectDrawSurface Fixed smaller typo inDxDdLockDirectDrawSurface sorry


On 30-Dec-07, at 6:12 PM, greatlrd@svn.reactos.org wrote:

+        pSurfacelcl = (PDD_SURFACE_LOCAL)(((PBYTE)&pSurfacelcl) + sizeof(DD_BASEOBJECT));
    

This code makes absolutely no sense. You do realize you're returning a stack address, right?

Best regards,
Alex Ionescu


_______________________________________________
Ros-dev mailing list
Ros-dev@reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev