From b172ecbede672bdef982e5b45376ac3517440263 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 May 2013 16:22:54 +0100 Subject: Fix corpus tests wrt alphabetical sorting; fix some bugs with subtitles that were shown up. --- src/parse/subtitle.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse') 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 ()); -- cgit v1.2.3