diff options
author | Bob Arnson <bob@firegiant.com> | 2020-09-01 20:31:35 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2020-09-01 20:33:59 -0400 |
commit | cb6bd363baef3a7d458dfda053b94131420822f0 (patch) | |
tree | e4e9d6dab05754caafccb3442bdcefc00387c9e8 | |
parent | e1ff7245ee176c18bd0b773a7e11df6bb95d7b7e (diff) | |
download | wix-cb6bd363baef3a7d458dfda053b94131420822f0.tar.gz wix-cb6bd363baef3a7d458dfda053b94131420822f0.tar.bz2 wix-cb6bd363baef3a7d458dfda053b94131420822f0.zip |
Fix typo.
-rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | 2 | ||||
-rw-r--r-- | src/WixToolset.Core/Compiler.cs | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs index de3123ee..e1e40f4a 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | |||
@@ -606,7 +606,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
606 | 606 | ||
607 | private void AddIniFileSymbol(IniFileSymbol symbol) | 607 | private void AddIniFileSymbol(IniFileSymbol symbol) |
608 | { | 608 | { |
609 | var tableName = (InifFileActionType.AddLine == symbol.Action || InifFileActionType.AddTag == symbol.Action || InifFileActionType.CreateLine == symbol.Action) ? "IniFile" : "RemoveIniFile"; | 609 | var tableName = (IniFileActionType.AddLine == symbol.Action || IniFileActionType.AddTag == symbol.Action || IniFileActionType.CreateLine == symbol.Action) ? "IniFile" : "RemoveIniFile"; |
610 | 610 | ||
611 | var name = symbol.FileName; | 611 | var name = symbol.FileName; |
612 | if (null == symbol.ShortFileName && null != name && !Common.IsValidShortFilename(name, false)) | 612 | if (null == symbol.ShortFileName && null != name && !Common.IsValidShortFilename(name, false)) |
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index 6cc3a2e8..2ef85ff0 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
@@ -6405,7 +6405,7 @@ namespace WixToolset.Core | |||
6405 | { | 6405 | { |
6406 | var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); | 6406 | var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); |
6407 | Identifier id = null; | 6407 | Identifier id = null; |
6408 | InifFileActionType? action = null; | 6408 | IniFileActionType? action = null; |
6409 | string directory = null; | 6409 | string directory = null; |
6410 | string key = null; | 6410 | string key = null; |
6411 | string name = null; | 6411 | string name = null; |
@@ -6427,16 +6427,16 @@ namespace WixToolset.Core | |||
6427 | switch (actionValue) | 6427 | switch (actionValue) |
6428 | { | 6428 | { |
6429 | case "addLine": | 6429 | case "addLine": |
6430 | action = InifFileActionType.AddLine; | 6430 | action = IniFileActionType.AddLine; |
6431 | break; | 6431 | break; |
6432 | case "addTag": | 6432 | case "addTag": |
6433 | action = InifFileActionType.AddTag; | 6433 | action = IniFileActionType.AddTag; |
6434 | break; | 6434 | break; |
6435 | case "removeLine": | 6435 | case "removeLine": |
6436 | action = InifFileActionType.RemoveLine; | 6436 | action = IniFileActionType.RemoveLine; |
6437 | break; | 6437 | break; |
6438 | case "removeTag": | 6438 | case "removeTag": |
6439 | action = InifFileActionType.RemoveTag; | 6439 | action = IniFileActionType.RemoveTag; |
6440 | break; | 6440 | break; |
6441 | case "": // error case handled by GetAttributeValue() | 6441 | case "": // error case handled by GetAttributeValue() |
6442 | break; | 6442 | break; |
@@ -6478,7 +6478,7 @@ namespace WixToolset.Core | |||
6478 | { | 6478 | { |
6479 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Action")); | 6479 | this.Core.Write(ErrorMessages.ExpectedAttribute(sourceLineNumbers, node.Name.LocalName, "Action")); |
6480 | } | 6480 | } |
6481 | else if (InifFileActionType.AddLine == action || InifFileActionType.AddTag == action || InifFileActionType.CreateLine == action) | 6481 | else if (IniFileActionType.AddLine == action || IniFileActionType.AddTag == action || IniFileActionType.CreateLine == action) |
6482 | { | 6482 | { |
6483 | if (null == value) | 6483 | if (null == value) |
6484 | { | 6484 | { |