Is this code for human ?
 
"@@ -81,7 +81,7 @@
     * if they forget set it, the ddraw will autoamtic
     * set it for system memory.
     */
-    if ((pDDSD->dwFlags & DDSCAPS_SYSTEMMEMORY) != DDSCAPS_SYSTEMMEMORY)
+    if ((pDDSD->ddsCaps.dwCaps & DDSCAPS_SYSTEMMEMORY) == DDSCAPS_SYSTEMMEMORY)
    {
        pDDSD->dwFlags = pDDSD->dwFlags | DDSD_LPSURFACE;
    }
"

On Dec 16, 2007 1:46 AM, <greatlrd@svn.reactos.org> wrote:
Author: greatlrd
Date: Sun Dec 16 03:46:43 2007
New Revision: 31268

URL: http://svn.reactos.org/svn/reactos?rev=31268&view=rev
Log:
fix a typo

Modified:
   trunk/reactos/dll/directx/ddraw/Surface/createsurface.c

Modified: trunk/reactos/dll/directx/ddraw/Surface/createsurface.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ddraw/Surface/createsurface.c?rev=31268&r1=31267&r2=31268&view=diff
==============================================================================
--- trunk/reactos/dll/directx/ddraw/Surface/createsurface.c (original)
+++ trunk/reactos/dll/directx/ddraw/Surface/createsurface.c Sun Dec 16 03:46:43 2007
@@ -81,7 +81,7 @@
     * if they forget set it, the ddraw will autoamtic
     * set it for system memory.
     */
-    if ((pDDSD->dwFlags & DDSCAPS_SYSTEMMEMORY) != DDSCAPS_SYSTEMMEMORY)
+    if ((pDDSD-> ddsCaps.dwCaps & DDSCAPS_SYSTEMMEMORY) == DDSCAPS_SYSTEMMEMORY)
    {
        pDDSD->dwFlags = pDDSD->dwFlags | DDSD_LPSURFACE;
    }





--
MVH
Simon Blomqvist
Tel - 0735307474
IT www.AgentEyes.com
Internet Café www.cafe.agenteyes.com
Konst www.konstgrossisten.com/
Jag ringer gratis med www.skype.se mitt id är: simonblomqvist