From 6fcfebabb97b54508f70c4b9aa5303b698c972c5 Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sun, 27 Oct 2019 19:57:15 -0400 Subject: Fix off by two error. Or was it off by one? --- .../ExtensibilityServices/WindowsInstallerBackendHelper.cs | 2 +- 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 { if (i < tableDefinition.Columns.Length) { - var column = tableDefinition.Columns[i]; + var column = tableDefinition.Columns[i + rowOffset]; switch (column.Type) { 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 { variableDefaultValue = matches[i].Groups["value"].Value; - // localization variables to not support inline default values + // localization variables do not support inline default values if ("loc" == variableNamespace) { this.Messaging.Write(ErrorMessages.IllegalInlineLocVariable(sourceLineNumbers, variableId, variableDefaultValue)); -- cgit v1.2.3-55-g6feb