diff options
-rw-r--r-- | src/wix/WixToolset.Converters/WixConverter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wix/WixToolset.Converters/WixConverter.cs b/src/wix/WixToolset.Converters/WixConverter.cs index 8432722b..be51d6c7 100644 --- a/src/wix/WixToolset.Converters/WixConverter.cs +++ b/src/wix/WixToolset.Converters/WixConverter.cs | |||
@@ -443,7 +443,7 @@ namespace WixToolset.Converters | |||
443 | 443 | ||
444 | if (this.TryOpenSourceFile(ConvertOperation.Format, sourceFile)) | 444 | if (this.TryOpenSourceFile(ConvertOperation.Format, sourceFile)) |
445 | { | 445 | { |
446 | this.FormatDocument(this.State.XDocument); | 446 | this.FormatDocument(this.State.XDocument, sourceFile); |
447 | 447 | ||
448 | // Fix Messages if requested and necessary. | 448 | // Fix Messages if requested and necessary. |
449 | if (saveConvertedFile && 0 < this.ConversionMessages.Count) | 449 | if (saveConvertedFile && 0 < this.ConversionMessages.Count) |