Fix return value of IntDesktopOkToClose, spotted by Cameron.

svn path=/trunk/; revision=53213
This commit is contained in:
Timo Kreuzer 2011-08-13 20:40:41 +00:00
parent 99329a8c0d
commit d292220a34

View 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 */