diff options
author | Bob Arnson <bob@firegiant.com> | 2019-10-27 19:57:15 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2019-10-28 13:21:16 -0400 |
commit | 6fcfebabb97b54508f70c4b9aa5303b698c972c5 (patch) | |
tree | 99123e5faef797f7d160ee4609c4e3585912281c /src | |
parent | 1e3e48ac376ca689d524fe69a7f1a40fcd1573df (diff) | |
download | wix-6fcfebabb97b54508f70c4b9aa5303b698c972c5.tar.gz wix-6fcfebabb97b54508f70c4b9aa5303b698c972c5.tar.bz2 wix-6fcfebabb97b54508f70c4b9aa5303b698c972c5.zip |
Fix off by two error. Or was it off by one?
Diffstat (limited to 'src')
-rw-r--r-- | src/WixToolset.Core/ExtensibilityServices/WindowsInstallerBackendHelper.cs | 2 | ||||
-rw-r--r-- | src/WixToolset.Core/VariableResolver.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/ExtensibilityServices/WindowsInstallerBackendHelper.cs b/src/WixToolset.Core/ExtensibilityServices/WindowsInstallerBackendHelper.cs index a99f5c7a..6b535756 100644 --- a/src/WixToolset.Core/ExtensibilityServices/WindowsInstallerBackendHelper.cs +++ b/src/WixToolset.Core/ExtensibilityServices/WindowsInstallerBackendHelper.cs | |||
@@ -34,7 +34,7 @@ namespace WixToolset.Core.ExtensibilityServices | |||
34 | { | 34 | { |
35 | if (i < tableDefinition.Columns.Length) | 35 | if (i < tableDefinition.Columns.Length) |
36 | { | 36 | { |
37 | var column = tableDefinition.Columns[i]; | 37 | var column = tableDefinition.Columns[i + rowOffset]; |
38 | 38 | ||
39 | switch (column.Type) | 39 | switch (column.Type) |
40 | { | 40 | { |
diff --git a/src/WixToolset.Core/VariableResolver.cs b/src/WixToolset.Core/VariableResolver.cs index de722613..c2a54a12 100644 --- a/src/WixToolset.Core/VariableResolver.cs +++ b/src/WixToolset.Core/VariableResolver.cs | |||
@@ -119,7 +119,7 @@ namespace WixToolset.Core | |||
119 | { | 119 | { |
120 | variableDefaultValue = matches[i].Groups["value"].Value; | 120 | variableDefaultValue = matches[i].Groups["value"].Value; |
121 | 121 | ||
122 | // localization variables to not support inline default values | 122 | // localization variables do not support inline default values |
123 | if ("loc" == variableNamespace) | 123 | if ("loc" == variableNamespace) |
124 | { | 124 | { |
125 | this.Messaging.Write(ErrorMessages.IllegalInlineLocVariable(sourceLineNumbers, variableId, variableDefaultValue)); | 125 | this.Messaging.Write(ErrorMessages.IllegalInlineLocVariable(sourceLineNumbers, variableId, variableDefaultValue)); |