diff --git a/programs/regsvr32/regsvr32.c b/programs/regsvr32/regsvr32.c index 03d45fa0f12..6338bae924d 100644 --- a/programs/regsvr32/regsvr32.c +++ b/programs/regsvr32/regsvr32.c @@ -296,7 +296,7 @@ int wmain(int argc, WCHAR* argv[]) continue; } - if (!CallInstall || (CallInstall && CallRegister)) + if (!CallInstall || CallRegister) { if(Unregister) res = UnregisterDll(DllName);