diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-15 11:21:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-15 11:21:04 +0000 |
| commit | 5b519d9454b4b8bdf3acbf27257cbebe5aacafca (patch) | |
| tree | 4e69a7685ae1a033acc422952506321d7d7d0f97 /src | |
| parent | 19e00ec24925192d354dd15961b9f067c790edbf (diff) | |
Reduce precision for vposition attribute.
Diffstat (limited to 'src')
| -rw-r--r-- | src/interop_subtitle_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_subtitle_content.cc b/src/interop_subtitle_content.cc index 1b6ee1a9..09711a7e 100644 --- a/src/interop_subtitle_content.cc +++ b/src/interop_subtitle_content.cc @@ -165,7 +165,7 @@ InteropSubtitleContent::xml_as_string () const xmlpp::Element* text = subtitle_element->add_child ("Text"); text->set_attribute ("VAlign", valign_to_string (i->v_align())); - text->set_attribute ("VPosition", raw_convert<string> (i->v_position())); + text->set_attribute ("VPosition", raw_convert<string> (i->v_position(), 6)); text->add_child_text (i->text()); } |
