X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fparse%2Fsubtitle.cc;h=612af716b2f47b1b418cdffeda652fe66c713047;hb=dcccb2dd1d180b8be67e539395dccbe82b0fb5a8;hp=471d62b724abab8237499f619191bdf61a0d6455;hpb=7394f50d8b5334a17cac37c8956b1b7e8e5e49c8;p=libdcp.git diff --git a/src/parse/subtitle.cc b/src/parse/subtitle.cc index 471d62b7..612af716 100644 --- a/src/parse/subtitle.cc +++ b/src/parse/subtitle.cc @@ -36,7 +36,7 @@ Font::Font (shared_ptr node) id = node->optional_string_attribute ("Id").get_value_or (""); size = node->optional_number_attribute ("Size").get_value_or (0); - italic = node->optional_bool_attribute ("Italic").get_value_or (false); + italic = node->optional_bool_attribute ("Italic"); optional c = node->optional_string_attribute ("Color"); if (c) { color = Color (c.get ());