Make isDefault a bool

This commit is contained in:
Kevin Sawicki 2017-05-18 10:51:44 -07:00
parent a8d25d6855
commit 97160ffa63

View file

@ -146,7 +146,7 @@ struct Converter<printing::PrinterBasicInfo> {
dict.Set("name", val.printer_name);
dict.Set("description", val.printer_description);
dict.Set("status", val.printer_status);
dict.Set("isDefault", val.is_default);
dict.Set("isDefault", val.is_default ? true : false);
dict.Set("options", val.options);
return dict.GetHandle();
}