Author: greatlrd Date: Mon May 8 21:35:09 2006 New Revision: 21855
URL: http://svn.reactos.ru/svn/reactos?rev=21855&view=rev Log: sorry I broke the build, thx Brezenbak and w3seek point it out, small change from brezenbak to fix it
Modified: trunk/reactos/dll/win32/gdi32/misc/gdientry.c
Modified: trunk/reactos/dll/win32/gdi32/misc/gdientry.c URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/gdientr... ============================================================================== --- trunk/reactos/dll/win32/gdi32/misc/gdientry.c (original) +++ trunk/reactos/dll/win32/gdi32/misc/gdientry.c Mon May 8 21:35:09 2006 @@ -158,9 +158,9 @@ }
status = NtGdiDdDeleteDirectDrawObject((HANDLE)pDirectDrawGlobal->hDD); - if (status == TRUE) && (pDirectDrawGlobalInternal->hDD != NULL) - { - pDirectDrawGlobalInternal->hDD = NULL; + if (status == TRUE) && (pDirectDrawGlobalInternal->hDD != 0) + { + pDirectDrawGlobalInternal->hDD = 0; }
return status;