@joebigelow / wix-1 / commits / 51441387

Fix a couple simple mistakes

Rob Mensching committed Jun 23, 2020 at 16:44 UTC 51441387b09aa6b8c00fbc0d8841118b7fee63d6
2 files changed +2 -2
src/WixToolset.Core/Compiler.cs
+1 -1
@@ -6345,7 +6345,7 @@ namespace WixToolset.Core
6345 {
6346 switch (attrib.Name.LocalName)
6347 {
6348 - case "Cndition":
6348 + case "Condition":
6349 condition = this.Core.GetAttributeValue(sourceLineNumbers, attrib);
6350 break;
6351 case "Message":
src/WixToolset.Core/Compiler_UI.cs
+1 -1
@@ -1425,7 +1425,7 @@ namespace WixToolset.Core
1425
1426 if (!String.IsNullOrEmpty(text) && null != sourceFile)
1427 {
1428 - this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(childSourceLineNumbers, child.Name.LocalName, "SourceFile", "Text"));
1428 + this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(childSourceLineNumbers, child.Name.LocalName, "SourceFile", "Value"));
1429 }
1430 break;
1431 default: