summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-04-12 05:15:05 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-04-12 05:16:30 +0200
commit407f3ce42c49d95c4795b4b7e89c47cf4e314bcb (patch)
tree452398701d6429b2f956242d19adb677d635b819 /tools
parent53866525b5c0388778ac973f35fec5111a8480e7 (diff)
downloadmsitools-407f3ce42c49d95c4795b4b7e89c47cf4e314bcb.zip
msitools-407f3ce42c49d95c4795b4b7e89c47cf4e314bcb.tar.gz
msitools-407f3ce42c49d95c4795b4b7e89c47cf4e314bcb.tar.xz
wixl: Product Comment is not mandatory
Diffstat (limited to 'tools')
-rw-r--r--tools/wixl/builder.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/wixl/builder.vala b/tools/wixl/builder.vala
index 0be32b0..a7405ad 100644
--- a/tools/wixl/builder.vala
+++ b/tools/wixl/builder.vala
@@ -273,7 +273,8 @@ namespace Wixl {
}
public override void visit_package (WixPackage package) throws GLib.Error {
- db.info.set_comments (package.Comments);
+ if (package.Comments != null)
+ db.info.set_comments (package.Comments);
if (package.Description != null)
db.info.set_subject (package.Description);