summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-04 15:54:04 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-04 15:54:04 +0100
commitc28d8e1df21fa4c88c1d9f0cd5a54c10a4a7f714 (patch)
treec1647191c63ef2cb13fe4dd0090a00bd6bf86cb9 /src
parent359ec2977ec93d2d04fb9bcadbfad6e69fbf1a3e (diff)
Update _file when writing subtitle content.
Diffstat (limited to 'src')
-rw-r--r--src/subtitle_content.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/subtitle_content.cc b/src/subtitle_content.cc
index 5a45d737..85a4b360 100644
--- a/src/subtitle_content.cc
+++ b/src/subtitle_content.cc
@@ -246,6 +246,8 @@ SubtitleContent::write_xml (boost::filesystem::path p) const
Glib::ustring const s = xml_as_string ();
fwrite (s.c_str(), 1, s.length(), f);
fclose (f);
+
+ _file = p;
}
Glib::ustring