diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-01-24 23:43:05 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-01-24 23:50:31 +0100 |
commit | 696c5f4335264dedbdf612ddf73b38d664bc1684 (patch) | |
tree | 74c6d42879bc4f19936c51894c6ebf9dadf09676 /tools | |
parent | f48047fc484dc67eb5ce90e68235092312e4c0cf (diff) | |
download | msitools-696c5f4335264dedbdf612ddf73b38d664bc1684.tar.gz msitools-696c5f4335264dedbdf612ddf73b38d664bc1684.tar.xz msitools-696c5f4335264dedbdf612ddf73b38d664bc1684.zip |
wixl: do not add null/runtime properties
Diffstat (limited to 'tools')
-rw-r--r-- | tools/wixl/builder.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala index fc511d9..c89093f 100644 --- a/tools/wixl/builder.vala +++ b/tools/wixl/builder.vala @@ -280,6 +280,9 @@ namespace Wixl { } public override void visit_property (WixProperty prop) throws GLib.Error { + if (prop.Value == null) + return; + db.table_property.add (prop.Id, prop.Value); } |