diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-07-21 22:14:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-07-21 22:14:15 +0100 |
| commit | 9cbe57dda759fccfa9dec8a0820114d7d8583a36 (patch) | |
| tree | e18a89e8a29ae8c5dc92317fadca77d6434366f8 /src | |
| parent | c0885f03689441ef5cbc26694e060877dffe926f (diff) | |
Fix failure to load projects.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/caption_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/caption_content.cc b/src/lib/caption_content.cc index 368d276d9..4fa8b678f 100644 --- 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> >(); } |
