Remove erroneous defaulting of text language to en_US.
authorCarl Hetherington <cth@carlh.net>
Mon, 5 Apr 2021 22:52:36 +0000 (00:52 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 5 Apr 2021 22:52:36 +0000 (00:52 +0200)
src/lib/text_content.cc

index c86150881418121b32c59e8d7187d72f6ca3aa18..4ba2de348d076c79aee657aac4b79086bab60e4b 100644 (file)
@@ -128,7 +128,6 @@ TextContent::TextContent (Content* parent, cxml::ConstNodePtr node, int version)
        , _outline_width (node->optional_number_child<int>("OutlineWidth").get_value_or(4))
        , _type (TextType::OPEN_SUBTITLE)
        , _original_type (TextType::OPEN_SUBTITLE)
        , _outline_width (node->optional_number_child<int>("OutlineWidth").get_value_or(4))
        , _type (TextType::OPEN_SUBTITLE)
        , _original_type (TextType::OPEN_SUBTITLE)
-       , _language ("en-US")
 {
        if (version >= 37) {
                _use = node->bool_child ("Use");
 {
        if (version >= 37) {
                _use = node->bool_child ("Use");