From c28d8e1df21fa4c88c1d9f0cd5a54c10a4a7f714 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 4 Jul 2014 15:54:04 +0100 Subject: Update _file when writing subtitle content. --- src/subtitle_content.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/subtitle_content.cc') 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 -- cgit v1.2.3