Fix a check.

svn path=/trunk/; revision=58857
This commit is contained in:
Hermès Bélusca-Maïto 2013-04-25 23:16:19 +00:00
parent 0950be976a
commit 634525fac4

View file

@ -327,7 +327,7 @@ wWinMain(HINSTANCE hInstance,
/* Create the auto-start complete event */
hScmAutoStartCompleteEvent = CreateEventW(NULL, TRUE, FALSE, SCM_AUTOSTARTCOMPLETE_EVENT);
if (hScmAutoStartCompleteEvent = NULL)
if (hScmAutoStartCompleteEvent == NULL)
{
DPRINT1("SERVICES: Failed to create the auto-start complete event\n");
goto done;