[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 13 Aug 2011 20:40:41 +0000 (20:40 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 13 Aug 2011 20:40:41 +0000 (20:40 +0000)
Fix return value of IntDesktopOkToClose, spotted by Cameron.

svn path=/trunk/; revision=53213

reactos/subsystems/win32/win32k/ntuser/desktop.c

index a452551..46b5a77 100644 (file)
@@ -175,7 +175,7 @@ IntDesktopOkToClose(PWIN32_OKAYTOCLOSEMETHOD_PARAMETERS Parameters)
     if( pti == NULL)
     {
         /* This happens when we leak desktop handles */
-        return TRUE;
+        return STATUS_SUCCESS;
     }
 
     /* Do not allow the current desktop or the initial desktop to be closed */