aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/Compiler.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-04-02 14:41:49 -0700
committerRob Mensching <rob@firegiant.com>2021-04-02 14:58:00 -0700
commit4449fcc5b8d104817c67135229682c66c3d892ca (patch)
tree327f617de2e296ddb4e62c50bf07ec8b5dcf0a3e /src/WixToolset.Core/Compiler.cs
parent9cca339473d77c7036035f949239f5231c325968 (diff)
downloadwix-4449fcc5b8d104817c67135229682c66c3d892ca.tar.gz
wix-4449fcc5b8d104817c67135229682c66c3d892ca.tar.bz2
wix-4449fcc5b8d104817c67135229682c66c3d892ca.zip
Enable codepages and languages to be set via .wxl files
Fixes wixtoolset/issues#5801
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
-rw-r--r--src/WixToolset.Core/Compiler.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs
index c2783481..926a46c5 100644
--- a/src/WixToolset.Core/Compiler.cs
+++ b/src/WixToolset.Core/Compiler.cs
@@ -384,7 +384,7 @@ namespace WixToolset.Core
384 { 384 {
385 var id = String.Concat(this.Core.ActiveSection.Id, ".", propertyId.Id); 385 var id = String.Concat(this.Core.ActiveSection.Id, ".", propertyId.Id);
386 386
387 section = this.Core.CreateSection(id, SectionType.Fragment, this.Core.ActiveSection.Codepage, this.Context.CompilationId); 387 section = this.Core.CreateSection(id, SectionType.Fragment, this.Context.CompilationId);
388 388
389 // Reference the property in the active section. 389 // Reference the property in the active section.
390 this.Core.CreateSimpleReference(sourceLineNumbers, SymbolDefinitions.Property, propertyId.Id); 390 this.Core.CreateSimpleReference(sourceLineNumbers, SymbolDefinitions.Property, propertyId.Id);
@@ -6159,7 +6159,7 @@ namespace WixToolset.Core
6159 6159
6160 // NOTE: Id is not required for Fragments, this is a departure from the normal run of the mill processing. 6160 // NOTE: Id is not required for Fragments, this is a departure from the normal run of the mill processing.
6161 6161
6162 this.Core.CreateActiveSection(id?.Id, SectionType.Fragment, 0, this.Context.CompilationId); 6162 this.Core.CreateActiveSection(id?.Id, SectionType.Fragment, this.Context.CompilationId);
6163 6163
6164 var featureDisplay = 0; 6164 var featureDisplay = 0;
6165 foreach (var child in node.Elements()) 6165 foreach (var child in node.Elements())