summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-01-13 22:20:38 +0000
committerCarl Hetherington <cth@carlh.net>2018-01-14 00:24:42 +0000
commit79f3e6ae2739bdccbb1114ed410bff1452c4aef6 (patch)
treed32819ea3c80980d10ab66f213712bc166a68080 /src/lib
parentc5df2c0736585c65f70d87ac700b215ac28a7544 (diff)
Fix thinko when writing XML.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/subtitle_content.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/subtitle_content.cc b/src/lib/subtitle_content.cc
index dbe6dd43a..9e3ed3229 100644
--- a/src/lib/subtitle_content.cc
+++ b/src/lib/subtitle_content.cc
@@ -280,13 +280,13 @@ SubtitleContent::as_xml (xmlpp::Node* root) const
if (_effect) {
switch (*_effect) {
case dcp::NONE:
- root->add_child("none");
+ root->add_child("Effect")->add_child_text("none");
break;
case dcp::BORDER:
- root->add_child("outline");
+ root->add_child("Effect")->add_child_text("outline");
break;
case dcp::SHADOW:
- root->add_child("shadow");
+ root->add_child("Effect")->add_child_text("shadow");
break;
}
}