projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0885f0
)
Fix failure to load projects.
author
Carl Hetherington
<cth@carlh.net>
Sat, 21 Jul 2018 21:14:15 +0000
(22:14 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 21 Jul 2018 21:14:15 +0000
(22:14 +0100)
src/lib/caption_content.cc
patch
|
blob
|
history
diff --git
a/src/lib/caption_content.cc
b/src/lib/caption_content.cc
index 368d276d93abfbc893829206a82cba4d5cf46366..4fa8b678f3337b61452666185780e5b432df15fc 100644
(file)
--- a/
src/lib/caption_content.cc
+++ b/
src/lib/caption_content.cc
@@
-99,7
+99,7
@@
CaptionContent::from_xml (Content* parent, cxml::ConstNodePtr node, int version)
return c;
}
- if (!node->node_child("Caption")) {
+ if (!node->
optional_
node_child("Caption")) {
return list<shared_ptr<CaptionContent> >();
}