diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-14 16:22:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-14 16:22:54 +0100 |
| commit | b172ecbede672bdef982e5b45376ac3517440263 (patch) | |
| tree | ca3330c6dfed482828b83be12588f06f4025f208 /src/parse | |
| parent | 8526058d24faec5f83ffd66758fef8d8c8159f73 (diff) | |
Fix corpus tests wrt alphabetical sorting; fix some bugs with subtitles that were shown up.
Diffstat (limited to 'src/parse')
| -rw-r--r-- | src/parse/subtitle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<const cxml::Node> node) id = node->optional_string_attribute ("Id").get_value_or (""); size = node->optional_number_attribute<int64_t> ("Size").get_value_or (0); - italic = node->optional_bool_attribute ("Italic").get_value_or (false); + italic = node->optional_bool_attribute ("Italic"); optional<string> c = node->optional_string_attribute ("Color"); if (c) { color = Color (c.get ()); |
