@joebigelow / wix-1 / commits / 6fcfebab

Fix off by two error. Or was it off by one?

Bob Arnson committed Oct 27, 2019 at 19:57 UTC 6fcfebabb97b54508f70c4b9aa5303b698c972c5
2 files changed +2 -2
src/WixToolset.Core/ExtensibilityServices/WindowsInstallerBackendHelper.cs
+1 -1
@@ -34,7 +34,7 @@ namespace WixToolset.Core.ExtensibilityServices
34 {
35 if (i < tableDefinition.Columns.Length)
36 {
37 - var column = tableDefinition.Columns[i];
37 + var column = tableDefinition.Columns[i + rowOffset];
38
39 switch (column.Type)
40 {
src/WixToolset.Core/VariableResolver.cs
+1 -1
@@ -119,7 +119,7 @@ namespace WixToolset.Core
119 {
120 variableDefaultValue = matches[i].Groups["value"].Value;
121
122 - // localization variables to not support inline default values
122 + // localization variables do not support inline default values
123 if ("loc" == variableNamespace)
124 {
125 this.Messaging.Write(ErrorMessages.IllegalInlineLocVariable(sourceLineNumbers, variableId, variableDefaultValue));