From 875cffced64430151294015786dae100201add45 Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Mon, 8 May 2006 17:35:09 +0000 Subject: [PATCH] sorry I broke the build, thx Brezenbak and w3seek point it out, small change from brezenbak to fix it svn path=/trunk/; revision=21855 --- reactos/dll/win32/gdi32/misc/gdientry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/gdi32/misc/gdientry.c b/reactos/dll/win32/gdi32/misc/gdientry.c index c273bdb1557..51b45eb8c05 100644 --- a/reactos/dll/win32/gdi32/misc/gdientry.c +++ b/reactos/dll/win32/gdi32/misc/gdientry.c @@ -158,9 +158,9 @@ DdDeleteDirectDrawObject(LPDDRAWI_DIRECTDRAW_GBL pDirectDrawGlobal) } status = NtGdiDdDeleteDirectDrawObject((HANDLE)pDirectDrawGlobal->hDD); - if (status == TRUE) && (pDirectDrawGlobalInternal->hDD != NULL) + if (status == TRUE) && (pDirectDrawGlobalInternal->hDD != 0) { - pDirectDrawGlobalInternal->hDD = NULL; + pDirectDrawGlobalInternal->hDD = 0; } return status;