@joebigelow / wix-1 / commits / d28bb98a

Burn typo/style fixes

Bob Arnson committed Sep 22, 2022 at 18:11 UTC d28bb98a6347663684cdf3960e8562eb5a8c4bad
1 file changed +3 -2
src/burn/engine/mspengine.cpp
+3 -2
@@ -623,7 +623,7 @@ extern "C" HRESULT MspEngineExecutePackage(
623 wzAppend = pMspPackage->Msp.sczPatchCode;
624 }
625
626 - if (NULL != sczPatches)
626 + if (sczPatches)
627 {
628 hr = StrAllocConcat(&sczPatches, L";", 0);
629 ExitOnFailure(hr, "Failed to semi-colon delimit patches.");
@@ -1049,6 +1049,7 @@ static HRESULT AddMsiChainedPatch(
1049
1050 *pdwChainedPatchIndex = pPackage->Msi.cChainedPatches;
1051 ++pPackage->Msi.cChainedPatches;
1052 +
1053 LExit:
1054 return hr;
1055 }
@@ -1186,7 +1187,7 @@ static HRESULT PlanTargetProduct(
1187
1188 // Add our target product to the array and sort based on their order determined during detection.
1189 hr = MemEnsureArraySize(reinterpret_cast<LPVOID*>(&pAction->mspTarget.rgOrderedPatches), pAction->mspTarget.cOrderedPatches + 1, sizeof(BURN_ORDERED_PATCHES), 2);
1189 - ExitOnFailure(hr, "Failed grow array of ordered patches.");
1190 + ExitOnFailure(hr, "Failed to grow array of ordered patches.");
1191
1192 pAction->mspTarget.rgOrderedPatches[pAction->mspTarget.cOrderedPatches].pTargetProduct = pTargetProduct;
1193 pAction->mspTarget.rgOrderedPatches[pAction->mspTarget.cOrderedPatches].pPackage = pPackage;