projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7560428
)
Remove erroneous defaulting of text language to en_US.
author
Carl Hetherington
<cth@carlh.net>
Mon, 5 Apr 2021 22:52:36 +0000
(
00:52
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 5 Apr 2021 22:52:36 +0000
(
00:52
+0200)
src/lib/text_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/text_content.cc
b/src/lib/text_content.cc
index c86150881418121b32c59e8d7187d72f6ca3aa18..4ba2de348d076c79aee657aac4b79086bab60e4b 100644
(file)
--- a/
src/lib/text_content.cc
+++ b/
src/lib/text_content.cc
@@
-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");