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 c861508..4ba2de3 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)
-       , _language ("en-US")
 {
        if (version >= 37) {
                _use = node->bool_child ("Use");