diff options
author | Rob Mensching <rob@firegiant.com> | 2023-07-08 09:10:50 -0700 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2023-07-11 16:53:23 -0400 |
commit | 713f286e0f82d6ad79272082abca7f987791f60b (patch) | |
tree | fdf5b272d1ff7726dbb6ee3cf93c91ee9410ffbb | |
parent | e53c658973fa0ece0b64e7be7ca9ebcb7e05044a (diff) | |
download | wix-713f286e0f82d6ad79272082abca7f987791f60b.tar.gz wix-713f286e0f82d6ad79272082abca7f987791f60b.tar.bz2 wix-713f286e0f82d6ad79272082abca7f987791f60b.zip |
Fix typo where Level was used instead of Value in Level element error message
Fixes 7603
-rw-r--r-- | src/wix/WixToolset.Core/Compiler.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wix/WixToolset.Core/Compiler.cs b/src/wix/WixToolset.Core/Compiler.cs index 36fd35b2..7541969b 100644 --- a/src/wix/WixToolset.Core/Compiler.cs +++ b/src/wix/WixToolset.Core/Compiler.cs | |||
@@ -7261,7 +7261,7 @@ namespace WixToolset.Core | |||
7261 | 7261 | ||
7262 | if (!level.HasValue) | 7262 | if (!level.HasValue) |
7263 | { | 7263 | { |
7264 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Level")); | 7264 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Value")); |
7265 | } | 7265 | } |
7266 | 7266 | ||
7267 | if (String.IsNullOrEmpty(condition)) | 7267 | if (String.IsNullOrEmpty(condition)) |
@@ -7275,7 +7275,7 @@ namespace WixToolset.Core | |||
7275 | { | 7275 | { |
7276 | if (CompilerConstants.IntegerNotSet == level) | 7276 | if (CompilerConstants.IntegerNotSet == level) |
7277 | { | 7277 | { |
7278 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Level")); | 7278 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Value")); |
7279 | level = CompilerConstants.IllegalInteger; | 7279 | level = CompilerConstants.IllegalInteger; |
7280 | } | 7280 | } |
7281 | 7281 | ||