diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:13:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:13:37 +0100 |
| commit | 2ae92dcc97765deb2845dd07a338858aeb375cb3 (patch) | |
| tree | 6f0f8dec0b81a0a7d56e8dbc3a87f0986dae6748 /src/subtitle_node.cc | |
| parent | 13db82c73af330ffbc7a813cd38c5bef36d5b54c (diff) | |
No-op: whitespace.
Diffstat (limited to 'src/subtitle_node.cc')
| -rw-r--r-- | src/subtitle_node.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subtitle_node.cc b/src/subtitle_node.cc index 57476330..f53878b6 100644 --- a/src/subtitle_node.cc +++ b/src/subtitle_node.cc @@ -45,7 +45,7 @@ SubtitleNode::SubtitleNode (boost::shared_ptr<const cxml::Node> node, int tcr) for (list<cxml::NodePtr>::iterator i = t.begin(); i != t.end(); ++i) { text_nodes.push_back (shared_ptr<TextNode> (new TextNode (*i, tcr))); } - + fade_up_time = fade_time (node, "FadeUpTime", tcr); fade_down_time = fade_time (node, "FadeDownTime", tcr); } @@ -55,7 +55,7 @@ SubtitleNode::fade_time (shared_ptr<const cxml::Node> node, string name, int tcr { string const u = node->optional_string_attribute (name).get_value_or (""); Time t; - + if (u.empty ()) { t = Time (0, 0, 0, 20, 250); } else if (u.find (":") != string::npos) { |
