From 51441387b09aa6b8c00fbc0d8841118b7fee63d6 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 23 Jun 2020 16:44:27 -0700 Subject: Fix a couple simple mistakes --- src/WixToolset.Core/Compiler.cs | 2 +- src/WixToolset.Core/Compiler_UI.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index 28290569..e2a5721e 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs @@ -6345,7 +6345,7 @@ namespace WixToolset.Core { switch (attrib.Name.LocalName) { - case "Cndition": + case "Condition": condition = this.Core.GetAttributeValue(sourceLineNumbers, attrib); break; case "Message": diff --git a/src/WixToolset.Core/Compiler_UI.cs b/src/WixToolset.Core/Compiler_UI.cs index 5066ff1a..9038f727 100644 --- a/src/WixToolset.Core/Compiler_UI.cs +++ b/src/WixToolset.Core/Compiler_UI.cs @@ -1425,7 +1425,7 @@ namespace WixToolset.Core if (!String.IsNullOrEmpty(text) && null != sourceFile) { - this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(childSourceLineNumbers, child.Name.LocalName, "SourceFile", "Text")); + this.Core.Write(ErrorMessages.IllegalAttributeWithOtherAttribute(childSourceLineNumbers, child.Name.LocalName, "SourceFile", "Value")); } break; default: -- cgit v1.2.3-55-g6feb