diff --git a/dlls/cabinet/fci.c b/dlls/cabinet/fci.c index 9ec1bdd1bf7..82d94ab4f67 100644 --- a/dlls/cabinet/fci.c +++ b/dlls/cabinet/fci.c @@ -205,7 +205,7 @@ static FCI_Int *get_fci_ptr( HFCI hfci ) { FCI_Int *fci= (FCI_Int *)hfci; - if (!fci || !fci->magic == FCI_INT_MAGIC) + if (!fci || fci->magic != FCI_INT_MAGIC) { SetLastError( ERROR_INVALID_HANDLE ); return NULL;