aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/ControlTuple.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-13 16:39:11 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-13 20:28:02 +1000
commitddb4161e3d9d13703b0df2915e68b5b4ef47e71b (patch)
treeb2a6033b3875662f6dee47295b15ceb4463d23a9 /src/WixToolset.Data/Tuples/ControlTuple.cs
parentd0d447ad64afdd5956856c4c6b6599f69a522d6b (diff)
downloadwix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.tar.gz
wix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.tar.bz2
wix-ddb4161e3d9d13703b0df2915e68b5b4ef47e71b.zip
Try to be more accurate in the tuples with nullable fields.
Diffstat (limited to 'src/WixToolset.Data/Tuples/ControlTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/ControlTuple.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Data/Tuples/ControlTuple.cs b/src/WixToolset.Data/Tuples/ControlTuple.cs
index f0fd92c1..ed61392e 100644
--- a/src/WixToolset.Data/Tuples/ControlTuple.cs
+++ b/src/WixToolset.Data/Tuples/ControlTuple.cs
@@ -119,9 +119,9 @@ namespace WixToolset.Data.Tuples
119 set => this.Set((int)ControlTupleFields.Height, value); 119 set => this.Set((int)ControlTupleFields.Height, value);
120 } 120 }
121 121
122 public int Attributes 122 public int? Attributes
123 { 123 {
124 get => this.Fields[(int)ControlTupleFields.Attributes].AsNumber(); 124 get => (int?)this.Fields[(int)ControlTupleFields.Attributes];
125 set => this.Set((int)ControlTupleFields.Attributes, value); 125 set => this.Set((int)ControlTupleFields.Attributes, value);
126 } 126 }
127 127