diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-05-13 13:49:57 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-05-14 11:12:31 -0500 |
commit | 7d56566b7c51c49ded526466dfae6af9e1709040 (patch) | |
tree | bda62f4cdd8c7318542d8f0ed20901cb41e1a271 /src/api/burn/balutil/balcondition.cpp | |
parent | 031991f32f059b64374e6d257cbe573304dd577f (diff) | |
download | wix-7d56566b7c51c49ded526466dfae6af9e1709040.tar.gz wix-7d56566b7c51c49ded526466dfae6af9e1709040.tar.bz2 wix-7d56566b7c51c49ded526466dfae6af9e1709040.zip |
Update balutil and Bal.wixext to use more concise Exit* macros.
Diffstat (limited to 'src/api/burn/balutil/balcondition.cpp')
-rw-r--r-- | src/api/burn/balutil/balcondition.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/burn/balutil/balcondition.cpp b/src/api/burn/balutil/balcondition.cpp index 8b05508f..00a46e05 100644 --- a/src/api/burn/balutil/balcondition.cpp +++ b/src/api/burn/balutil/balcondition.cpp | |||
@@ -35,10 +35,10 @@ DAPI_(HRESULT) BalConditionsParseFromXml( | |||
35 | while (S_OK == (hr = XmlNextElement(pNodeList, &pNode, NULL))) | 35 | while (S_OK == (hr = XmlNextElement(pNodeList, &pNode, NULL))) |
36 | { | 36 | { |
37 | hr = XmlGetAttributeEx(pNode, L"Condition", &prgConditions[iCondition].sczCondition); | 37 | hr = XmlGetAttributeEx(pNode, L"Condition", &prgConditions[iCondition].sczCondition); |
38 | ExitOnFailure(hr, "Failed to get condition for condition."); | 38 | ExitOnRequiredXmlQueryFailure(hr, "Failed to get condition for condition."); |
39 | 39 | ||
40 | hr = XmlGetAttributeEx(pNode, L"Message", &prgConditions[iCondition].sczMessage); | 40 | hr = XmlGetAttributeEx(pNode, L"Message", &prgConditions[iCondition].sczMessage); |
41 | ExitOnFailure(hr, "Failed to get message for condition."); | 41 | ExitOnRequiredXmlQueryFailure(hr, "Failed to get message for condition."); |
42 | 42 | ||
43 | if (pWixLoc && prgConditions[iCondition].sczMessage && *prgConditions[iCondition].sczMessage) | 43 | if (pWixLoc && prgConditions[iCondition].sczMessage && *prgConditions[iCondition].sczMessage) |
44 | { | 44 | { |