projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06b2187
)
Thinko in previous.
author
Carl Hetherington
<cth@carlh.net>
Fri, 20 Jul 2018 21:12:37 +0000
(22:12 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 20 Jul 2018 21:12:37 +0000
(22:12 +0100)
src/lib/caption_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/caption_content.cc
b/src/lib/caption_content.cc
index 801ccc0d0f2bb11f05769591748e292f764d53f6..af534980a47a42d8d21008fc9602f9edcb8ae810 100644
(file)
--- a/
src/lib/caption_content.cc
+++ b/
src/lib/caption_content.cc
@@
-90,7
+90,7
@@
CaptionContent::from_xml (Content* parent, cxml::ConstNodePtr node, int version)
if (!node->optional_number_child<double>("SubtitleXOffset") && !node->optional_number_child<double>("SubtitleOffset")) {
return shared_ptr<CaptionContent> ();
}
- shared_ptr<CaptionContent> (new CaptionContent (parent, node, version));
+
return
shared_ptr<CaptionContent> (new CaptionContent (parent, node, version));
}
if (!node->node_child("Caption")) {